Merge branch 'master' of github.com:hlissner/dotfiles

* 'master' of github.com:hlissner/dotfiles:
  Fix (py/rb)env detection
This commit is contained in:
Henrik Lissner 2015-01-22 11:20:45 -05:00
commit db8a53bfcf

4
zshrc
View file

@ -15,12 +15,12 @@ if [[ -z "$EMACS" ]]; then
is-callable 'fasd' && eval "$(fasd --init auto)"
fi
if is-callable 'rbenv'; then
if [ -d ~/.rbenv ]; then
export PATH=~/.rbenv/bin:$PATH
eval "$(rbenv init - --no-rehash)"
fi
if is-callable 'pyenv'; then
if [ -d ~/.pyenv ]; then
export PATH=~/.pyenv/bin:~/.pyenv/shims:$PATH
eval "$(pyenv init - --no-rehash)"
fi