tweak git prompt
This commit is contained in:
		
							parent
							
								
									da4233b3b1
								
							
						
					
					
						commit
						2b11b86564
					
				
					 2 changed files with 14 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								dot_bash-git-prompt/themes/Solarized_Yax.bgptheme
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								dot_bash-git-prompt/themes/Solarized_Yax.bgptheme
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,13 @@
 | 
			
		|||
# This theme for gitprompt.sh is optimized for the "Solarized Dark" and "Solarized Light" color schemes 
 | 
			
		||||
# tweaked for Ubuntu terminal fonts
 | 
			
		||||
 | 
			
		||||
override_git_prompt_colors() {
 | 
			
		||||
  GIT_PROMPT_THEME_NAME="Solarized_Yax"
 | 
			
		||||
  GIT_PROMPT_STAGED="${Yellow}●"
 | 
			
		||||
  GIT_PROMPT_STASHED="${BoldMagenta}⚑ "
 | 
			
		||||
  GIT_PROMPT_CLEAN="${Green}✔"
 | 
			
		||||
  GIT_PROMPT_END_USER=" \n${BoldBlue}${ResetColor} $ "
 | 
			
		||||
  GIT_PROMPT_END_ROOT=" \n${BoldBlue}${ResetColor} # "
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
reload_git_prompt_colors "Solarized_Yax"
 | 
			
		||||
| 
						 | 
				
			
			@ -73,6 +73,7 @@ else
 | 
			
		|||
 | 
			
		||||
  if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
 | 
			
		||||
      GIT_PROMPT_ONLY_IN_REPO=1
 | 
			
		||||
      GIT_PROMPT_THEME=Solarized_Yax
 | 
			
		||||
      source $HOME/.bash-git-prompt/gitprompt.sh
 | 
			
		||||
  fi
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue