From 0c0c05076abb67127bd0eadd05d84564b69e006d Mon Sep 17 00:00:00 2001 From: Vladislav Trotsenko Date: Mon, 14 Feb 2022 10:42:12 +0200 Subject: [PATCH] Bugfix/ZSH as default shell --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index d945d63..f7b4df8 100644 --- a/setup.sh +++ b/setup.sh @@ -34,7 +34,7 @@ function step_1() { sudo apt update sudo apt-get install -y git git-flow curl wget zsh powerline fonts-powerline software-properties-common apt-transport-https sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh) --unattended" - sudo chsh -s $(which zsh) + sudo usermod -s $(which zsh) $(whoami) git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1 ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme" sed -i 's/robbyrussell/spaceship/' .zshrc