Skip to content

Instantly share code, notes, and snippets.

@kevinSuttle
Created September 27, 2013 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinSuttle/6724464 to your computer and use it in GitHub Desktop.
Save kevinSuttle/6724464 to your computer and use it in GitHub Desktop.
Which Rbenv Output
❯ which rbenv
rbenv () {
typeset command
command="$1"
if [ "$#" -gt 0 ]
then
shift
fi
case "$command" in
(rehash|shell) eval `rbenv "sh-$command" "$@"` ;;
(*) command rbenv "$command" "$@" ;;
esac
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment