docs: default shell formatting

This commit is contained in:
Charles Gould
2020-07-15 01:58:57 -04:00
committed by Fabian Homborg
parent ebdaa1df4d
commit e5ac2fa879
2 changed files with 6 additions and 10 deletions

View File

@@ -701,19 +701,14 @@ Switching to fish?
------------------
If you wish to use fish (or any other shell) as your default shell,
you need to enter your new shell's executable ``/usr/local/bin/fish`` in two places:
- add ``/usr/local/bin/fish`` to ``/etc/shells``
- change your default shell with ``chsh -s /usr/local/bin/fish``
you need to enter your new shell's executable in two places.
You can use the following commands for this:
Add the fish shell ``/usr/local/bin/fish``
to ``/etc/shells`` with::
Add the shell to ``/etc/shells`` with::
> echo /usr/local/bin/fish | sudo tee -a /etc/shells
Change your default shell to fish with::
Change your default shell with::
> chsh -s /usr/local/bin/fish