mirror of
				https://github.com/WarrenHood/dotfiles.git
				synced 2025-11-04 04:58:41 +00:00 
			
		
		
		
	Add starship prompt to bash and zsh on Ubuntu
(cherry picked from commit 982b558ec9)
			
			
This commit is contained in:
		
							parent
							
								
									8c0b8c3ba1
								
							
						
					
					
						commit
						8580ef589f
					
				
							
								
								
									
										6
									
								
								setup
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								setup
									
									
									
									
									
								
							| 
						 | 
					@ -16,6 +16,9 @@ then
 | 
				
			||||||
    git clone https://github.com/horst3180/arc-icon-theme --depth 1 ~/git/arc-icon-theme && cd ~/git/arc-icon-theme
 | 
					    git clone https://github.com/horst3180/arc-icon-theme --depth 1 ~/git/arc-icon-theme && cd ~/git/arc-icon-theme
 | 
				
			||||||
    ./autogen.sh --prefix=/usr
 | 
					    ./autogen.sh --prefix=/usr
 | 
				
			||||||
    sudo make install
 | 
					    sudo make install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    echo "Installing starship prompt"
 | 
				
			||||||
 | 
					    curl -sS https://starship.rs/install.sh | sh
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
    echo "Updating Arch"
 | 
					    echo "Updating Arch"
 | 
				
			||||||
    sudo pacman -Syyu
 | 
					    sudo pacman -Syyu
 | 
				
			||||||
| 
						 | 
					@ -46,4 +49,5 @@ nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Add aliases to zshrc
 | 
					# Add aliases to zshrc
 | 
				
			||||||
add_to_file "alias nv='nvim'" "$HOME/.zshrc"
 | 
					add_to_file "alias nv='nvim'" "$HOME/.zshrc"
 | 
				
			||||||
 | 
					add_to_file 'eval "$(starship init bash)"' "$HOME/.bashrc"
 | 
				
			||||||
 | 
					add_to_file 'eval "$(starship init zsh)"' "$HOME/.zshrc"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue