File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ _comp_cmd_kcov()
36
36
COMPREPLY=(${COMPREPLY/#/ $prev ,} )
37
37
else
38
38
_comp_compgen -- -W " {0..100}"
39
- (( ${# COMPREPLY[@]} == 1 )) && COMPREPLY=(${COMPREPLY/%/ ,} )
39
+ (( ${# COMPREPLY[@]} == 1 )) && COMPREPLY=(" ${COMPREPLY/%/ ,} " )
40
40
compopt -o nospace
41
41
fi
42
42
return
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ _comp_cmd_povray()
35
35
IFS=$' \n '
36
36
command grep ' ^[-+]I' <<< " ${words[*]}"
37
37
) )
38
- COMPREPLY=( ${COMPREPLY[@]# [-+]I} )
39
- COMPREPLY=(${COMPREPLY[@]/% .pov/ .$oext } )
38
+ _comp_compgen -Rv COMPREPLY -- -X ' ' -W ' " ${COMPREPLY[@]#[-+]I}" '
39
+ COMPREPLY=(" ${COMPREPLY[@]/% .pov/ .$oext } " )
40
40
cur=" ${povcur# [-+]O} " # to confuse _comp_compgen_filedir
41
41
pfx=" ${povcur% " $cur " } "
42
42
_comp_compgen -a filedir $oext
You can’t perform that action at this time.
0 commit comments