mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Update README.md
Add a command that instantly add the fish path to /etc/shells
This commit is contained in:
committed by
Kurtis Rader
parent
516695ff21
commit
ad97a122c9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user