Skip to content

Commit

Permalink
Autocompletion
Browse files Browse the repository at this point in the history
  • Loading branch information
sstephenson committed Sep 13, 2011
1 parent 7b4b51a commit f47e74a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/rbenv-install
Expand Up @@ -2,6 +2,11 @@
set -e
[ -n "$RBENV_DEBUG" ] && set -x

# Provide rbenv completions
if [ "$1" = "--complete" ]; then
exec ruby-build --definitions
fi

if [ -z "$RBENV_ROOT" ]; then
RBENV_ROOT="${HOME}/.rbenv"
fi
Expand Down

0 comments on commit f47e74a

Please sign in to comment.