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 cb3968c commit 2998932Copy full SHA for 2998932
1 file changed
data/share/bash-completion/completions/pkgdev
@@ -6,6 +6,13 @@ _pkgdev() {
6
local i=1 cmd cur prev words cword split
7
_comp_initialize -n : "$@" || return
8
9
+ # If the previous word looks like a group of short options,
10
+ # handle it as if it were just the last short option.
11
+ # e.g. "-qr" -> "-r"
12
+ if [[ ${prev} =~ ^-[a-zA-Z]{2,}$ ]]; then
13
+ prev="-${prev:(-1)}"
14
+ fi
15
+
16
local subcommands="
17
bugs
18
commit
0 commit comments