aboutsummaryrefslogtreecommitdiff
path: root/sh
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 /sh
parent352a33c76a2833d353c707d95d7561f93a03cb8a (diff)
downloaddotfiles-9988f4033dd0af225e65b631e585032c57e15e11.tar.gz
Break plenv stuff into its own target
Diffstat (limited to 'sh')
-rw-r--r--sh/profile.d/plenv.sh5
-rw-r--r--sh/shrc.d/plenv.sh17
2 files changed, 0 insertions, 22 deletions
diff --git a/sh/profile.d/plenv.sh b/sh/profile.d/plenv.sh
deleted file mode 100644
index b2b491e1..00000000
--- a/sh/profile.d/plenv.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-# 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
diff --git a/sh/shrc.d/plenv.sh b/sh/shrc.d/plenv.sh
deleted file mode 100644
index 6e03618e..00000000
--- a/sh/shrc.d/plenv.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-# POSIX-compatible version of the plenv Bash shell wrapper
-[ -d "$HOME"/.plenv ] || return
-plenv() {
- case $1 in
- rehash)
- shift
- eval "$(plenv sh-rehash "$@")"
- ;;
- shell)
- shift
- eval "$(plenv sh-shell "$@")"
- ;;
- *)
- command plenv "$@"
- ;;
- esac
-}