quick docs for short_cwd

This commit is contained in:
adam j hartz 2015-11-29 20:38:23 -05:00
parent d2a1aeb838
commit 993f5bfb2f

View file

@ -838,6 +838,8 @@ By default, the following variables are available for use:
* ``user``: The username of the current user
* ``hostname``: The name of the host computer
* ``cwd``: The current working directory
* ``short_cwd``: A shortened form of the current working directory; e.g.,
``/path/to/xonsh`` becomes ``/p/t/xonsh``
* ``cwd_dir``: The dirname of the current working directory, e.g. ``/path/to`` in
``/path/to/xonsh``.
* ``cwd_base``: The basename of the current working directory, e.g. ``xonsh`` in