From 550309d76723810ed86f8104a9bfb8ff71f44e1a Mon Sep 17 00:00:00 2001 From: Evan Date: Sun, 12 Jul 2026 21:18:24 -0500 Subject: [PATCH] make starship non-interactive install --- main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 7f8ce8f..0f5bb1e 100644 --- a/main.sh +++ b/main.sh @@ -47,7 +47,7 @@ sudo chsh $INSTALL_USER -s /bin/zsh cp ./utils/dotzshrc "$HOME/.zshrc" # starship (shell prompt) -echo 'y' | $(curl -sS https://starship.rs/install.sh | sudo sh) +curl -sS https://starship.rs/install.sh | sudo sh -s -- -y # echo 'eval "$(starship init zsh)"' | tee "$HOME/.zshrc" -a # should already be in zshrc mkdir -p "$HOME/.config" cp ./utils/starship.toml "$HOME/.config/starship.toml"