2016-04-06 18:31:19 -04:00
|
|
|
Additional Setup
|
|
|
|
================
|
2016-05-20 17:58:50 -04:00
|
|
|
If you want to use xonsh as your default shell, you will first have
|
|
|
|
to add xonsh to `/etc/shells`.
|
2016-04-06 18:31:19 -04:00
|
|
|
|
|
|
|
First ensure that xonsh is on your ``$PATH``
|
|
|
|
|
2016-08-18 13:55:00 -04:00
|
|
|
.. code-block:: console
|
2016-04-06 18:31:19 -04:00
|
|
|
|
|
|
|
$ which xonsh
|
|
|
|
|
|
|
|
Then, as root, add xonsh to the shell list
|
|
|
|
|
2016-08-18 13:55:00 -04:00
|
|
|
.. code-block:: console
|
2016-04-06 18:31:19 -04:00
|
|
|
|
2016-07-07 10:32:32 +02:00
|
|
|
# which xonsh >> /etc/shells
|
2016-04-06 18:31:19 -04:00
|
|
|
|
|
|
|
To change shells, run
|
|
|
|
|
2016-08-18 13:55:00 -04:00
|
|
|
.. code-block:: console
|
2016-04-06 18:31:19 -04:00
|
|
|
|
|
|
|
$ chsh -s $(which xonsh)
|
|
|
|
|
2016-05-20 17:58:50 -04:00
|
|
|
You will have to log out and log back in before the changes take effect.
|