The default zsh version located at
I brew installed a new version, added
/etc/shells, and issued
chsh -s /usr/local/bin/zsh to change it to that one - it's output:
chsh: no changes made. I've also tried issuing
sudo dscl . -create /Users/$USER UserShell /usr/local/bin/zsh and still see, upon restarting the command line and the machine itself,
which zsh and
type zsh showing
I checked System Preferences -> unlock -> right click my user and click Advanced Options -> and I see
/usr/local/bin/zsh for Login shell.
On command line:
ps -o comm= $$outputs
zsh is /bin/zsh
zsh 5.8 (x86_64-apple-darwin19.3.0)
zsh 5.7.1 (x86_64-apple-darwin19.0)
I'm wondering, how can I ensure version 5.8 is being used?
Could it be that because
/bin is before
/usr/local/bin in my PATH, that
/bin/zsh is resolved instead of
/usr/local/bin/zsh, assuming shell binary is also resolved using PATH?