Move pending changes flag to front of git branch name
This commit is contained in:
		
							parent
							
								
									86eec915d6
								
							
						
					
					
						commit
						6d2cd63eb8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								zshrc
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								zshrc
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -65,7 +65,7 @@ precmd_git_rprompt()
 | 
			
		|||
    RPROMPT="$branch"
 | 
			
		||||
    echo $gstat | grep '^nothing' 1>/dev/null 2>&1
 | 
			
		||||
    if [[ $? != 0 ]]; then
 | 
			
		||||
        RPROMPT="$RPROMPT%B%F{green}*%f%b"
 | 
			
		||||
        RPROMPT="%B%F{green}*%f%b$RPROMPT"
 | 
			
		||||
    fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue