File tree 6 files changed +9
-9
lines changed
6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ _comp_cmd_mount()
32
32
return
33
33
;;
34
34
-p | --pass-fd)
35
- COMPREPLY=( $( compgen - W ' {0..9}' ) )
35
+ _comp_compgen -R -- - W ' {0..9}'
36
36
compopt -o nospace
37
37
return
38
38
;;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ _comp_cmd_feh()
23
23
--font | --menu-font | --title-font | -${noargopts} [eM@])
24
24
# expect string like "dejavu.ttf/12"
25
25
if [[ $cur == * /* ]]; then # expect integer value
26
- COMPREPLY=( $( compgen - P " $cur " -W ' {0..9}' ) )
26
+ _comp_compgen -R -- - P " $cur " -W ' {0..9}'
27
27
compopt -o nospace
28
28
return
29
29
fi
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ _comp_cmd_hping2()
17
17
return
18
18
;;
19
19
--tos | -${noargopts} o)
20
- COMPREPLY=( $( compgen - W ' 02 04 08 10' ) )
20
+ _comp_compgen -R -- - W ' 02 04 08 10'
21
21
return
22
22
;;
23
23
--file | -${noargopts} E)
Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ _comp_cmd_tar__mode()
308
308
generated+=" $filler$cur$c "
309
309
done
310
310
311
- COMPREPLY=( $( compgen - W " $generated " ) )
311
+ _comp_compgen -R -- - W " $generated "
312
312
return 0
313
313
fi
314
314
@@ -331,7 +331,7 @@ _comp_cmd_tar__mode()
331
331
generated+=" $cur$c "
332
332
done
333
333
334
- COMPREPLY=( $( compgen - W " $generated " ) )
334
+ _comp_compgen -R -- - W " $generated "
335
335
336
336
return 0
337
337
}
Original file line number Diff line number Diff line change @@ -111,12 +111,12 @@ _comp_cmd_wget()
111
111
--quota | --limit-rate | --warc-max-size | -${noargopts} Q)
112
112
# expect size
113
113
if [[ $cur == * [km] ]]; then
114
- COMPREPLY=( $( compgen - W " $cur " ) )
114
+ _comp_compgen -R -- - W " $cur "
115
115
elif [[ $cur ]]; then
116
- COMPREPLY=( $( compgen - P " $cur " -W " {0..9} k m" ) )
116
+ _comp_compgen -R -- - P " $cur " -W " {0..9} k m"
117
117
compopt -o nospace
118
118
else
119
- COMPREPLY=( $( compgen - W " {0..9}" ) )
119
+ _comp_compgen -R -- - W " {0..9}"
120
120
compopt -o nospace
121
121
fi
122
122
return
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ _comp_cmd_xgamma()
26
26
if [[ $cur == :* && $cur != :* .* ]]; then
27
27
# FIXME: where to get local display numbers?
28
28
local display=${cur#: }
29
- COMPREPLY=( $( compgen - W " ${display:- 0} ." ) )
29
+ _comp_compgen -R -- - W " ${display:- 0} ."
30
30
compopt -o nospace
31
31
elif [[ $cur == :* .* ]]; then
32
32
# local screen numbers
You can’t perform that action at this time.
0 commit comments