use correct zsh
This commit is contained in:
10
setup.sh
10
setup.sh
@@ -45,9 +45,11 @@ ln -s ~/dotfiles/vim/vimrc ~/.vimrc
|
|||||||
|
|
||||||
mkdir -p ~/Developer
|
mkdir -p ~/Developer
|
||||||
|
|
||||||
echo "Change shell to zsh? [y/n]"
|
if command -v chsh &>/dev/null && command -v zsh &>/dev/null; then
|
||||||
read shell
|
echo "Change shell to zsh? [y/n]"
|
||||||
if [ "$shell" = "y" ]; then
|
read shell
|
||||||
chsh -s /bin/zsh
|
if [ "$shell" = "y" ]; then
|
||||||
|
chsh -s "$(command -v zsh)"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
exit
|
exit
|
||||||
|
|||||||
Reference in New Issue
Block a user