Completion for which

This commit is contained in:
Sam Stephenson 2011-09-13 13:02:55 -05:00
parent 3644840d4b
commit 465a1472ba

View file

@ -2,6 +2,11 @@
set -e
[ -n "$RBENV_DEBUG" ] && set -x
# Provide rbenv completions
if [ "$1" = "--complete" ]; then
exec rbenv shims --short
fi
expand_path() {
if [ ! -d "$1" ]; then
return 1