mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
Update README.md
Add a command that instantly add the fish path to /etc/shells
This commit is contained in:
parent
516695ff21
commit
ad97a122c9
1 changed files with 4 additions and 0 deletions
|
@ -106,6 +106,10 @@ If you wish to use fish as your default shell, use the following command:
|
|||
|
||||
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.
|
||||
|
||||
echo /usr/local/bin/fish | sudo tee -a /etc/shells
|
||||
|
||||
To switch your default shell back, you can run:
|
||||
|
||||
chsh -s /bin/bash
|
||||
|
|
Loading…
Reference in a new issue