mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 21:31:19 +08:00 
			
		
		
		
	Fix print rvm version in amuse theme
This commit is contained in:
		
							parent
							
								
									b75b0b8882
								
							
						
					
					
						commit
						dc3413b91c
					
				@ -20,7 +20,7 @@ ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[green]%}?"
 | 
			
		||||
ZSH_THEME_GIT_PROMPT_CLEAN=""
 | 
			
		||||
 | 
			
		||||
if [ -e ~/.rvm/bin/rvm-prompt ]; then
 | 
			
		||||
  RPROMPT='%{$fg_bold[red]%}‹$(~/.rvm/bin/rvm-prompt i v)›%{$reset_color%}'
 | 
			
		||||
  RPROMPT='%{$fg_bold[red]%}‹$(rvm_current)›%{$reset_color%}'
 | 
			
		||||
else
 | 
			
		||||
  if which rbenv &> /dev/null; then
 | 
			
		||||
    RPROMPT='%{$fg_bold[red]%}$(rbenv_version)%{$reset_color%}'
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user