diff options
Diffstat (limited to 'plenv/profile.d/plenv.sh')
-rw-r--r-- | plenv/profile.d/plenv.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plenv/profile.d/plenv.sh b/plenv/profile.d/plenv.sh index b2b491e1..52750e9c 100644 --- a/plenv/profile.d/plenv.sh +++ b/plenv/profile.d/plenv.sh @@ -1,5 +1,3 @@ -# Add plenv to PATH and MANPATH if it appears to be in use +# Add plenv to PATH if its home directory exists [ -d "$HOME"/.plenv ] || return PATH=$HOME/.plenv/shims:$HOME/.plenv/bin:$PATH -MANPATH=$HOME/.plenv/versions/$(perl -e 'print substr($^V,1)')/man:$MANPATH -export MANPATH |