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
 | 
			
		||||
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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue