mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
24 lines
476 B
ReStructuredText
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.
|