File: env_var.rst

package info (click to toggle)
hy 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,632 kB
  • sloc: python: 7,299; makefile: 38; sh: 27
file content (27 lines) | stat: -rw-r--r-- 911 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
=====================
Environment variables
=====================

Hy treats the following environment variables specially. Boolean environment
variables are interpreted as false when set to the empty string and true when
set to anything else.

.. envvar:: HYSTARTUP

   (Default: nothing) Path to a file containing Hy source code to execute when
   starting the REPL.

.. envvar:: HY_SHOW_INTERNAL_ERRORS

   (Default: false) Whether to show some parts of tracebacks that point to
   internal Hy code and won't be helpful to the typical Hy user.

.. envvar:: HY_HISTORY

   (Default: ``~/.hy-history``) Path to which REPL input history will be saved.

.. envvar:: HY_MESSAGE_WHEN_COMPILING

   (Default: false) Whether to print "Compiling FILENAME" to standard error
   before compiling each file of Hy source code. This is helpful for debugging
   whether files are being loaded from bytecode or re-compiled.