mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
quick docs for short_cwd
This commit is contained in:
parent
d2a1aeb838
commit
993f5bfb2f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue