mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Use inline code for paths and commands
(cherry picked from commit 14e23749a6
)
This commit is contained in:
parent
4d31a13fb2
commit
f14fde2373
1 changed files with 3 additions and 3 deletions
|
@ -99,9 +99,9 @@ If you wish to use fish as your default shell, use the following command:
|
|||
|
||||
chsh -s /usr/local/bin/fish
|
||||
|
||||
chsh will prompt you for your password, and change your default shell. Substitute "/usr/local/bin/fish" with whatever path to fish is in your /etc/shells file.
|
||||
chsh will prompt you for your password, and change your default shell. Substitute `/usr/local/bin/fish` with whatever path to fish is in your `/etc/shells` file.
|
||||
|
||||
Use the following command if you didn't already add your fish path to /etc/shells.
|
||||
Use the following command if you didn't already add your fish path to `/etc/shells`.
|
||||
|
||||
echo /usr/local/bin/fish | sudo tee -a /etc/shells
|
||||
|
||||
|
@ -109,7 +109,7 @@ To switch your default shell back, you can run:
|
|||
|
||||
chsh -s /bin/bash
|
||||
|
||||
Substitute /bin/bash with /bin/tcsh or /bin/zsh as appropriate.
|
||||
Substitute `/bin/bash` with `/bin/tcsh` or `/bin/zsh` as appropriate.
|
||||
|
||||
You may need to logout/login for the change (chsh) to take effect.
|
||||
|
||||
|
|
Loading…
Reference in a new issue