xonsh/docs/add_to_shell.rst
2016-08-18 13:55:16 -04:00

24 lines
476 B
ReStructuredText

Additional Setup
================
If you want to use xonsh as your default shell, you will first have
to add xonsh to `/etc/shells`.
First ensure that xonsh is on your ``$PATH``
.. code-block:: console
$ which xonsh
Then, as root, add xonsh to the shell list
.. code-block:: console
# which xonsh >> /etc/shells
To change shells, run
.. code-block:: console
$ chsh -s $(which xonsh)
You will have to log out and log back in before the changes take effect.