mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 21:31:19 +08:00 
			
		
		
		
	Update plugins/rbenv/rbenv.plugin.zsh
Fix rbenv plugin for OS X latest homebrew
This commit is contained in:
		
							parent
							
								
									7bb42fb49a
								
							
						
					
					
						commit
						80828cd0d3
					
				@ -7,7 +7,7 @@ _rbenv-from-homebrew-installed() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
FOUND_RBENV=0
 | 
			
		||||
rbenvdirs=("$HOME/.rbenv" "/usr/local/rbenv" "/opt/rbenv")
 | 
			
		||||
rbenvdirs=("$HOME/.rbenv" "/usr/local/rbenv" "/opt/rbenv" "/usr/local/opt/rbenv")
 | 
			
		||||
if _homebrew-installed && _rbenv-from-homebrew-installed ; then
 | 
			
		||||
    rbenvdirs=($(brew --prefix rbenv) "${rbenvdirs[@]}")
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user