blob: 6e03618ea2347e60d08e658a4ffe51af037b7c53 (
plain) (
tree)
|
|
# 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
}
|