feat: set zsh automatically
1 file changed, +2 -1
+2-1install.sh
| @@ -97,6 +97,7 @@ command -v zsh &>/dev/null && echob "☑️ zsh already installed" || | ||
| 97 | 97 | eval "$install_cmd zsh" && |
| 98 | 98 | tput rmcup && echog "✅ zsh installed"; } || |
| 99 | 99 | { echor "🔴 Failed to install zsh" && exit 1; } |
| 100 | +chsh -s /usr/bin/zsh | |
| 100 | 101 | |
| 101 | 102 | # Install curl (crazy but this happens sometimes) |
| 102 | 103 | command -v curl &>/dev/null && echob "☑️ curl already installed" || |
| @@ -229,5 +230,5 @@ export ZDOTDIR=$HOME/.config/zsh | ||
| 229 | 230 | git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote && |
| 230 | 231 | tput rmcup && echog "✅ antidote installed"; } |
| 231 | 232 | |
| 232 | -# echot "\n🚀 Run 'exec zsh' to see the magic" | |
| 233 | +# Start new shell with everything installed | |
| 233 | 234 | exec zsh |