add curl option to download to temp file
This commit is contained in:
parent
dc2cc8122f
commit
8ef9c2f0c2
|
@ -12,7 +12,6 @@ if [ -e "$HOME/.zshrc" ] ; then
|
||||||
fi
|
fi
|
||||||
ln -s "$HOME/.config/zsh/zshrc" "$HOME/.zshrc"
|
ln -s "$HOME/.config/zsh/zshrc" "$HOME/.zshrc"
|
||||||
|
|
||||||
cd /tmp
|
curl -fsSL https://starship.rs/install.sh --output /tmp/install.sh
|
||||||
curl -fsSL https://starship.rs/install.sh
|
/tmp/install.sh --yes --bin-dir "$HOME/.config/zsh/starship"
|
||||||
bash install.sh --yes --bin-dir "$HOME/.config/zsh/starship"
|
rm /tmp/install.sh
|
||||||
rm install.sh
|
|
||||||
|
|
Loading…
Reference in New Issue