Merge branch 'master' of github.com:hlissner/dotfiles
* 'master' of github.com:hlissner/dotfiles: Fix (py/rb)env detection
This commit is contained in:
		
						commit
						db8a53bfcf
					
				
							
								
								
									
										4
									
								
								zshrc
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								zshrc
									
									
									
									
									
								
							| 
						 | 
					@ -15,12 +15,12 @@ if [[ -z "$EMACS" ]]; then
 | 
				
			||||||
    is-callable 'fasd' && eval "$(fasd --init auto)"
 | 
					    is-callable 'fasd' && eval "$(fasd --init auto)"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if is-callable 'rbenv'; then
 | 
					if [ -d ~/.rbenv ]; then
 | 
				
			||||||
    export PATH=~/.rbenv/bin:$PATH
 | 
					    export PATH=~/.rbenv/bin:$PATH
 | 
				
			||||||
    eval "$(rbenv init - --no-rehash)"
 | 
					    eval "$(rbenv init - --no-rehash)"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if is-callable 'pyenv'; then
 | 
					if [ -d ~/.pyenv ]; then
 | 
				
			||||||
    export PATH=~/.pyenv/bin:~/.pyenv/shims:$PATH
 | 
					    export PATH=~/.pyenv/bin:~/.pyenv/shims:$PATH
 | 
				
			||||||
    eval "$(pyenv init - --no-rehash)"
 | 
					    eval "$(pyenv init - --no-rehash)"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue