irongit

feat: set zsh automatically

huncholanehuncholaneauthored
parent 8df39e9commit 18bc6010c675be10e44fa518a5e74cc1a0d6dc2dBrowse files

1 file changed, +2 -1

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