File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ _comp_cmd_reportbug()
32
32
--tag | --ui | --interface | --type | --bts | --severity | --mode | -${noargopts} [TutBS])
33
33
COMPREPLY+=($(
34
34
compgen -W \
35
- ' $("$1" $prev help 2>&1 | sed -ne "/^[[:space:]]/p")' \
35
+ ' $("$1" " $prev" help 2>&1 | sed -ne "/^[[:space:]]/p")' \
36
36
-- " $cur "
37
37
) )
38
38
return
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ _comp_cmd_ypmatch()
12
12
13
13
if [[ $cmd == ypmatch && $cword -eq 1 && ${# words[@]} -eq 3 ]]; then
14
14
map=${words[2]}
15
- COMPREPLY=($( compgen -W ' $(ypcat $map 2>/dev/null | \
15
+ COMPREPLY=($( compgen -W ' $(ypcat " $map" 2>/dev/null | \
16
16
cut -d' :' -f 1)' -- " $cur " ) )
17
17
else
18
18
[[ $cmd == ypmatch && $cword -ne 2 ]] && return
You can’t perform that action at this time.
0 commit comments