Juergen Buddy Hoffmann 12 years ago
parent
commit
25f5190cd0
  1. 4
      completions/jenv.bash

4
completions/jenv.bash

@ -9,9 +9,7 @@ _jenv() { @@ -9,9 +9,7 @@ _jenv() {
unset words[0]
local completions=$(jenv completions "${words[@]}")
COMPREPLY=( $(compgen -W "$completions" -- "$word") )
# Prevents the addition of a trailing space when completing a path
[[ $COMPREPLY = */ ]] && complete -o nospace
fi
}
complete -F _jenv jenv
complete -o nospace -F _jenv jenv

Loading…
Cancel
Save