We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c609196 commit 39a01d3Copy full SHA for 39a01d3
completions/gnokii
@@ -225,7 +225,8 @@ _comp_cmd_gnokii()
225
226
# these 2 below are allowed in combination with others
227
local main_cmd
228
- _comp_split -l main_cmd "$(command sed -e '/--config/d;/--phone/d' <<<"$all_cmd")"
+ _comp_split -l main_cmd "$(command sed -e '/--config/d;/--phone/d' -e \
229
+ 's/[][\(){}|^$*+?.]/\\&/g' <<<"$all_cmd")"
230
# don't provide main command completions if one is
231
# already on the command line
232
local IFS='|'
0 commit comments