Completion for which
This commit is contained in:
parent
3644840d4b
commit
465a1472ba
@ -2,6 +2,11 @@
|
|||||||
set -e
|
set -e
|
||||||
[ -n "$RBENV_DEBUG" ] && set -x
|
[ -n "$RBENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
|
# Provide rbenv completions
|
||||||
|
if [ "$1" = "--complete" ]; then
|
||||||
|
exec rbenv shims --short
|
||||||
|
fi
|
||||||
|
|
||||||
expand_path() {
|
expand_path() {
|
||||||
if [ ! -d "$1" ]; then
|
if [ ! -d "$1" ]; then
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user