hy/tests/resources/bin/printenv.hy
Yigong Wang 4073c78069 Add -E support for Hy REPL
This commit adds -E support for Hy. Similar to Python, hy will ignore
all PYTHON* environment variables, e.g. PYTHONPATH and PYTHONHOME,
that might be set.
2018-03-31 15:16:40 -07:00

4 lines
36 B
Hy

(import os)
(print (. os environ))