mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-28 03:09:31 +08:00
16 lines
326 B
Fish
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
|