irongit

feat: set default shell to zsh on install

huncholanehuncholaneauthored
parent 18bc601commit 7d4bd685cfeac059ba18bcac32e9ba4528b5fb4cBrowse files

1 file changed, +4 -4

+4-4install.sh
@@ -44,7 +44,7 @@ if [ -f /etc/debian_version ]; then
4444 { tput smcup && echot "ℹ️ Installing build-essential" &&
4545 eval "$install_cmd build-essential" &&
4646 tput rmcup && echog "✅ build-essential installed"; } ||
47- { echor "Failed to install build-essential" && exit 1; }
47+ { echor "🔴 Failed to install build-essential" && exit 1; }
4848
4949 # Install basic tools for arch
5050 elif [ -f /etc/arch-release ]; then
@@ -63,7 +63,7 @@ elif [ -f /etc/arch-release ]; then
6363 { tput smcup &&
6464 eval "$install_cmd base-devel" && echot "ℹ️ Installing base-devel" &&
6565 tput rmcup && echog "✅ base-devel installed"; } ||
66- { echor "Failed to install base-devel" && exit 1; }
66+ { echor "🔴 Failed to install base-devel" && exit 1; }
6767
6868 # Install git
6969 command -v git &>/dev/null && echob "☑️ git already installed" ||
@@ -88,7 +88,7 @@ elif [ -f /etc/arch-release ]; then
8888 { tput smcup && echot "ℹ️ Installing paru" &&
8989 rm -rf $HOME/paru && git clone https://aur.archlinux.org/paru.git $paru_dir && cd $paru_dir && makepkg -si --noconfirm &&
9090 tput rmcup && echog "✅ paru installed"; } ||
91- { echor "🔴 Failed to install paru" && exit 1; }
91+ { tput rmcup && echor "🔴 Failed to install paru"; }
9292 fi
9393
9494 # Install zsh
@@ -97,7 +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
100+chsh -s /usr/bin/zsh &>/dev/null && echot "ℹ️ Set default shell to zsh"
101101
102102 # Install curl (crazy but this happens sometimes)
103103 command -v curl &>/dev/null && echob "☑️ curl already installed" ||