diff --git a/install.sh b/install.sh index 90d6710..1d1c4ce 100644 --- a/install.sh +++ b/install.sh @@ -2,9 +2,9 @@ cd ~ cp ~/.zshrc ~/.zshrc.bak -if [[ ! -f $(which starship 2>/dev/null) ]] then +if [[ ! -f $(which starship 2>/dev/null) ]]; then echo "Installing starship..." - curl -sS https://starship.rs/install.sh | sh + sh -c "$(curl -fsSL https://starship.rs/install.sh)" "" --unattended fi # check if oh my zsh installed