Update README.md

Add a command that instantly add the fish path to /etc/shells
This commit is contained in:
CharlonTank 2016-03-24 18:31:26 -07:00 committed by Kurtis Rader
parent 516695ff21
commit ad97a122c9

View file

@ -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. 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: To switch your default shell back, you can run:
chsh -s /bin/bash chsh -s /bin/bash