use correct zsh

This commit is contained in:
2026-02-20 22:42:17 -08:00
parent 22c132cc57
commit dff6d5ea31

View File

@@ -45,9 +45,11 @@ ln -s ~/dotfiles/vim/vimrc ~/.vimrc
mkdir -p ~/Developer mkdir -p ~/Developer
if command -v chsh &>/dev/null && command -v zsh &>/dev/null; then
echo "Change shell to zsh? [y/n]" echo "Change shell to zsh? [y/n]"
read shell read shell
if [ "$shell" = "y" ]; then if [ "$shell" = "y" ]; then
chsh -s /bin/zsh chsh -s "$(command -v zsh)"
fi
fi fi
exit exit