mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 21:31:19 +08:00 
			
		
		
		
	Merge simplified superjarin theme
This commit is contained in:
		
							parent
							
								
									df5b09e20b
								
							
						
					
					
						commit
						d0f3fb3a4f
					
				@ -1,11 +1,5 @@
 | 
				
			|||||||
# Grab the current version of ruby in use (via RVM): [ruby-1.8.7]
 | 
					# Grab the current version of ruby in use: [ruby-1.8.7]
 | 
				
			||||||
if [ -e ~/.rvm/bin/rvm-prompt ]; then
 | 
					JARIN_CURRENT_RUBY_="%{$fg[white]%}[%{$fg[red]%}\$(ruby_prompt_info)%{$fg[white]%}]%{$reset_color%}"
 | 
				
			||||||
  JARIN_CURRENT_RUBY_="%{$fg[white]%}[%{$fg[red]%}\$(~/.rvm/bin/rvm-prompt i v)%{$fg[white]%}]%{$reset_color%}"
 | 
					 | 
				
			||||||
else
 | 
					 | 
				
			||||||
  if which rbenv &> /dev/null; then
 | 
					 | 
				
			||||||
    JARIN_CURRENT_RUBY_="%{$fg[white]%}[%{$fg[red]%}\$(rbenv version | sed -e 's/ (set.*$//')%{$fg[white]%}]%{$reset_color%}"
 | 
					 | 
				
			||||||
  fi
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Grab the current filepath, use shortcuts: ~/Desktop
 | 
					# Grab the current filepath, use shortcuts: ~/Desktop
 | 
				
			||||||
# Append the current git branch, if in a git repository
 | 
					# Append the current git branch, if in a git repository
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user