mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
25 lines
479 B
ReStructuredText
25 lines
479 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:: bash
|
||
|
|
||
|
$ which xonsh
|
||
|
|
||
|
Then, as root, add xonsh to the shell list
|
||
|
|
||
|
.. code-block:: bash
|
||
|
|
||
|
# echo $(which xonsh) >> /etc/shells
|
||
|
|
||
|
To change shells, run
|
||
|
|
||
|
.. code-block:: bash
|
||
|
|
||
|
$ chsh -s $(which xonsh)
|
||
|
|
||
|
You will have to log out and log back in before the changes take effect.
|