Merge pull request #282 from janlindblom/feature/improved_plenv_plugin

Allow plenv plugin to read from $PLENV_ROOT
This commit is contained in:
Bruno 2014-12-23 15:25:08 -02:00
commit 9c37de5d5f

View File

@ -1,2 +1,7 @@
_prepend_path $HOME/.plenv/bin
_prepend_path $HOME/.plenv/shims
if test -n "$PLENV_ROOT"
_prepend_path $PLENV_ROOT/bin
_prepend_path $PLENV_ROOT/shims
else
_prepend_path $HOME/.plenv/bin
_prepend_path $HOME/.plenv/shims
end