fix(install): improve starship installation and oh-my-zsh configuration

- Use direct binary download for starship instead of install script for better reliability
- Add CHSH=no and --unattended flags to oh-my-zsh installation to prevent interactive prompts
- Add manual shell change logic with proper error handling
- Clean up temporary files after starship installation
This commit is contained in:
marvin.dietermann
2026-04-10 12:05:22 +02:00
parent c0be2b9e50
commit de83f9ac30
2 changed files with 12 additions and 3 deletions

View File

@@ -6,7 +6,10 @@ step "3/9 — Installing Starship"
if $IS_ARCH; then
$PKG_INSTALL starship
else
curl -ksS https://starship.rs/install.sh | sh -s -- -y
curl -ksSLo /tmp/starship.tar.gz https://github.com/starship/starship/releases/latest/download/starship-x86_64-unknown-linux-musl.tar.gz
tar xzf /tmp/starship.tar.gz -C /tmp
sudo install -m 755 /tmp/starship /usr/local/bin/starship
rm -f /tmp/starship /tmp/starship.tar.gz
fi
info "Starship installed/updated"