mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-24 15:45:25 +08:00
Merge pull request #84 'daenney-pyenv-homebrew'
This commit is contained in:
commit
d067714b71
|
@ -1,7 +1,15 @@
|
|||
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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user