oh-my-fish/plugins/pyenv/pyenv.load
2013-11-11 18:53:15 +01:00

16 lines
326 B
Fish

if test -n "$PYENV_ROOT"
if test -d $PYENV_ROOT/bin
set PATH $PYENV_ROOT/bin $PATH
end
if test -d $PYENV_ROOT/shims
set PATH $PYENV_ROOT/shims $PATH
end
else
if test -d $HOME/.pyenv/bin
set PATH $HOME/.pyenv/bin $PATH
end
if test -d $HOME/.pyenv/shims
set PATH $HOME/.pyenv/shims $PATH
end
end