From 0b576c72767e65e5381a1a077d0296157ace7fff Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Tue, 30 Aug 2022 11:42:19 +0100 Subject: [PATCH] added set default shell to zsh (not chsh, usermod -s) --- zsh_install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh_install.sh b/zsh_install.sh index a41baa0..9a16e59 100644 --- a/zsh_install.sh +++ b/zsh_install.sh @@ -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" echo Running Zsh + +sudo usermod -s /usr/bin/zsh $(whoami) + zsh