From 8ef9c2f0c2b7d49bae5b6bed605a80630713e284 Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 3 Sep 2020 17:30:08 +0100 Subject: [PATCH] add curl option to download to temp file --- install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 6620904..7119733 100755 --- a/install.sh +++ b/install.sh @@ -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