File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ _comp_cmd_abook()
33
33
;;
34
34
--infile)
35
35
COMPREPLY=($( compgen -W stdin -- " $cur " ) )
36
- _comp_compgen_filedir
36
+ _comp_compgen -a filedir
37
37
;;
38
38
--outfile)
39
39
COMPREPLY=($( compgen -W stdout -- " $cur " ) )
40
- _comp_compgen_filedir
40
+ _comp_compgen -a filedir
41
41
;;
42
42
--config | --datafile)
43
43
_comp_compgen_filedir
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ _comp_cmd_curl()
144
144
;;
145
145
--stderr)
146
146
COMPREPLY=($( compgen -W ' -' -- " $cur " ) )
147
- _comp_compgen_filedir
147
+ _comp_compgen -a filedir
148
148
return
149
149
;;
150
150
--tls-max)
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ _comp_cmd_pack200()
33
33
;;
34
34
-l | --log-file)
35
35
COMPREPLY=($( compgen -W ' -' -- " $cur " ) )
36
- _comp_compgen_filedir log
36
+ _comp_compgen -a filedir log
37
37
return
38
38
;;
39
39
-r | --repack)
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ _comp_cmd_patch()
22
22
;;
23
23
--output | --reject-file | -${noargopts} [or])
24
24
[[ ! $cur || $cur == - ]] && COMPREPLY=(-)
25
- _comp_compgen_filedir
25
+ _comp_compgen -a filedir
26
26
return
27
27
;;
28
28
--quoting-style)
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ _comp_cmd_perldoc()
139
139
-- " $cur " ) )
140
140
fi
141
141
fi
142
- _comp_compgen_filedir ' p@([lm]|od)'
142
+ _comp_compgen -a filedir ' p@([lm]|od)'
143
143
fi
144
144
} &&
145
145
complete -F _comp_cmd_perldoc -o bashdefault perldoc
You can’t perform that action at this time.
0 commit comments