mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 02:27:28 +08:00
docs: default shell formatting
This commit is contained in:
parent
ebdaa1df4d
commit
e5ac2fa879
|
@ -74,10 +74,11 @@ Default Shell
|
|||
-------------
|
||||
|
||||
You can make fish your default shell by adding fish's executable in two places:
|
||||
- add ``/usr/local/bin/fish`` to ``/etc/shells``
|
||||
|
||||
- add ``/usr/local/bin/fish`` to ``/etc/shells``
|
||||
- change your default shell with ``chsh -s`` to ``/usr/local/bin/fish``
|
||||
|
||||
For for detailed instructions see :ref:`Switching to fish <switching-to-fish>`.
|
||||
For detailed instructions see :ref:`Switching to fish <switching-to-fish>`.
|
||||
|
||||
Uninstalling
|
||||
------------
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user