Use which
to find correct zsh path
Some environments (like OS X using Homebrew) don't install applications to /usr/bin, so hardcoding the path to zsh is likely to result in the wrong version of zsh being saved as the default shell.
This commit is contained in:
parent
d43bcb9720
commit
138440975f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ version is 4.3.17.
|
|||
|
||||
4. Set Zsh as your default shell:
|
||||
|
||||
chsh -s /bin/zsh
|
||||
chsh -s $(which zsh)
|
||||
|
||||
5. Open a new Zsh terminal window or tab.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue