add curl option to download to temp file

This commit is contained in:
Ray Elliott 2020-09-03 17:30:08 +01:00
parent dc2cc8122f
commit 8ef9c2f0c2
1 changed files with 3 additions and 4 deletions

View File

@ -12,7 +12,6 @@ if [ -e "$HOME/.zshrc" ] ; then
fi
ln -s "$HOME/.config/zsh/zshrc" "$HOME/.zshrc"
cd /tmp
curl -fsSL https://starship.rs/install.sh
bash install.sh --yes --bin-dir "$HOME/.config/zsh/starship"
rm install.sh
curl -fsSL https://starship.rs/install.sh --output /tmp/install.sh
/tmp/install.sh --yes --bin-dir "$HOME/.config/zsh/starship"
rm /tmp/install.sh