mirror of https://github.com/nirenjan/dotfiles.git
				
				
				
			Add git_prompt.sh download to install
							parent
							
								
									76792ae62e
								
							
						
					
					
						commit
						612f7915e3
					
				
							
								
								
									
										11
									
								
								install
								
								
								
								
							
							
						
						
									
										11
									
								
								install
								
								
								
								
							|  | @ -142,6 +142,14 @@ then | ||||||
|     git config --global user.email $GIT_EMAIL |     git config --global user.email $GIT_EMAIL | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
|  | # Install git prompt functions | ||||||
|  | if [[ ! -e ~/.git_prompt.sh ]] | ||||||
|  | then | ||||||
|  |     echo "Installing Git prompt functionality..." | ||||||
|  |     curl -Sso ~/.git_prompt.sh \ | ||||||
|  |     https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh | ||||||
|  | fi | ||||||
|  | 
 | ||||||
| ####################################################################### | ####################################################################### | ||||||
| # Install vimrc & plugins | # Install vimrc & plugins | ||||||
| ####################################################################### | ####################################################################### | ||||||
|  | @ -205,8 +213,7 @@ lnfile dircolors ~/.dir_colors | ||||||
| 
 | 
 | ||||||
| if [[ $PRINT_INST == 1 ]] | if [[ $PRINT_INST == 1 ]] | ||||||
| then | then | ||||||
|     echo "Add the following lines to your ~/.bashrc file" |     echo "Add the following line to your ~/.bashrc file" | ||||||
|     echo "    source ~/.bashrc.common" |     echo "    source ~/.bashrc.common" | ||||||
|     echo "    source ~/.bashrc.lscolors" |  | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue