Browse Source

Completion for which

pull/360/head^2
Sam Stephenson 13 years ago
parent
commit
465a1472ba
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libexec/rbenv-which

+ 5
- 0
libexec/rbenv-which 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

Loading…
Cancel
Save