diff --git a/completions/jenv.bash b/completions/jenv.bash index ec67f5b..3ad54b7 100644 --- a/completions/jenv.bash +++ b/completions/jenv.bash @@ -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