install starship
This commit is contained in:
		
							parent
							
								
									e45a7887f7
								
							
						
					
					
						commit
						9a0b60480b
					
				| 
						 | 
					@ -1,6 +1,12 @@
 | 
				
			||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
git clone https://github.com/tarjoilija/zgen.git "$HOME/.config/zsh/zgen"
 | 
					git clone https://github.com/tarjoilija/zgen.git "$HOME/.config/zsh/zgen"
 | 
				
			||||||
 | 
					curl -fsSL https://starship.rs/install.sh | bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -e "$HOME/.config/starship" ] ; then
 | 
				
			||||||
 | 
						mv "$HOME/.config/starship" "$HOME/.config/starship-original-$(date +%s)"
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					git clone https://git.rayelliott.dev/dots/starship-prompt.git "$HOME/.config/starship"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -e "$HOME/.zshrc" ] ; then
 | 
					if [ -e "$HOME/.zshrc" ] ; then
 | 
				
			||||||
	mv "$HOME/.zshrc" "$HOME/.zshrc-original-$(date +%s)"
 | 
						mv "$HOME/.zshrc" "$HOME/.zshrc-original-$(date +%s)"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue