Update bash_to_xsh.rst

This commit is contained in:
Andy Kipp 2024-07-24 16:24:39 +02:00 committed by GitHub
parent fe069c0f21
commit 8da4a016b1
Failed to generate hash of commit

View file

@ -13,7 +13,7 @@ This page will help you put a finger on how to do the equivalent task in xonsh.
* - No special object for represent session.
- ``__xonsh__``
- The ``__xonsh__`` object has all about current xonsh session e.g. ``__xonsh__.env``.
You can set `X = __xonsh__` to have a shortcut for `X.env` and similar.
You can set ``X = __xonsh__`` to have a shortcut for ``X.env`` and similar.
* - ``script.sh``
- ``script.xsh``
- The recommended file extension is ``.xsh``.