small docs note

This commit is contained in:
adam j hartz 2016-01-10 19:56:07 -05:00
parent 1988b86719
commit 0cc8951aa6

View file

@ -166,6 +166,11 @@ useful to have more sophisticated types, like functions, in the environment.
There are handful of environment variables that xonsh considers special.
They can be seen on the `Environment Variables page <envvars.html>`_.
.. note:: In subprocess mode, referencing an undefined environment variable
will produce an empty string. In Python mode, however, a
``KeyError`` will be raised if the variable does not exist in the
environment.
Environment Lookup with ``${}``
================================
The ``$NAME`` is great as long as you know the name of the environment