aboutsummaryrefslogtreecommitdiff
path: root/plenv/profile.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-18 16:24:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-18 16:24:18 +1200
commit9988f4033dd0af225e65b631e585032c57e15e11 (patch)
tree043083ec065b1573f34a7e5313fb36c64887a00e /plenv/profile.d
parentRefactor mpd/ncmpcpp stuff completely (diff)
downloaddotfiles-9988f4033dd0af225e65b631e585032c57e15e11.tar.gz
dotfiles-9988f4033dd0af225e65b631e585032c57e15e11.zip
Break plenv stuff into its own target
Diffstat (limited to 'plenv/profile.d')
-rw-r--r--plenv/profile.d/plenv.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/plenv/profile.d/plenv.sh b/plenv/profile.d/plenv.sh
new file mode 100644
index 00000000..b2b491e1
--- /dev/null
+++ b/plenv/profile.d/plenv.sh
@@ -0,0 +1,5 @@
+# Add plenv to PATH and MANPATH if it appears to be in use
+[ -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