mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 02:13:38 +08:00
Add further instuction for chsh (logout) to README (#3251)
This commit is contained in:
parent
eb0d04d7ff
commit
f9355a0b86
|
@ -82,7 +82,7 @@ chsh will prompt you for your password, and change your default shell. Substitut
|
||||||
|
|
||||||
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
|
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:
|
||||||
|
|
||||||
|
@ -90,6 +90,8 @@ To switch your default shell back, you can run:
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
## Contributing Changes to the Code
|
## Contributing Changes to the Code
|
||||||
|
|
||||||
See the [Guide for Developers](CONTRIBUTING.md).
|
See the [Guide for Developers](CONTRIBUTING.md).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user