We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fcf0c6 commit a3071f3Copy full SHA for a3071f3
completions/complete
@@ -40,7 +40,7 @@ _comp_cmd_complete()
40
local -a opts=($(compgen -W '$(_parse_usage help "-s $1")' -- "$cur"))
41
# -F, -C do not work the expected way with compgen
42
[[ $1 != *compgen ]] || opts=("${opts[@]//-[FC]/}")
43
- COMPREPLY=($(compgen -W '"${opts[@]}"' -- "$cur"))
+ COMPREPLY=($(compgen -W '"${opts[@]}"' -X '' -- "$cur"))
44
else
45
COMPREPLY=($(compgen -A command -- "$cur"))
46
fi
0 commit comments