added set default shell to zsh (not chsh, usermod -s)

This commit is contained in:
Paul Wilde 2022-08-30 11:42:19 +01:00
parent 3546a1efb3
commit 0b576c7276

View file

@ -20,4 +20,7 @@ echo Installing AutoSuggestions
zsh -c "git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions" zsh -c "git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions"
echo Running Zsh echo Running Zsh
sudo usermod -s /usr/bin/zsh $(whoami)
zsh zsh