blob: 14403680731cf11a7441bb0540060a27be068ef5 (
plain) (
tree)
|
|
# POSIX-compatible version of the rbenv Bash shell wrapper
rbenv() {
case $1 in
rehash)
shift
eval "$(rbenv sh-rehash "$@")"
;;
sh-rehash)
command rbenv "$@"
;;
shell)
shift
eval "$(rbenv sh-shell "$@")"
;;
*)
command rbenv "$@"
rbenv rehash
;;
esac
}
|