mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 13:21:19 +08:00 
			
		
		
		
	Fix the rvm gemset right prompt:wq
This commit is contained in:
		
							parent
							
								
									c23392ac5b
								
							
						
					
					
						commit
						8d60f9a0d8
					
				@ -17,6 +17,7 @@ ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) "
 | 
			
		||||
if which rbenv &> /dev/null; then
 | 
			
		||||
  RPROMPT='%{$fg[red]%}$(rbenv version | sed -e "s/ (set.*$//")%{$reset_color%}'
 | 
			
		||||
else
 | 
			
		||||
if which rvm-prompt &> /dev/null; then
 | 
			
		||||
  RPROMPT='%{$fg[red]%}$(rvm-prompt)%{$reset_color%}'
 | 
			
		||||
  if which rvm-prompt &> /dev/null; then
 | 
			
		||||
    RPROMPT='%{$fg[red]%}$(rvm-prompt)%{$reset_color%}'
 | 
			
		||||
  fi
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user