We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d84c063 commit d76dd9eCopy full SHA for d76dd9e
completions/dict
@@ -42,11 +42,11 @@ _comp_cmd_dict()
42
# shellcheck disable=SC2254
43
case $prev in
44
--database | -info | -${noargopts}[di])
45
- _comp_compgen_split -- "$(_dictdata "${dict_options[@]}" -D)"
+ _comp_compgen_split -- "$(_dictdata ${dict_options[@]+"${dict_options[@]}"} -D)"
46
return
47
;;
48
--strategy | -${noargopts}s)
49
- _comp_compgen_split -- "$(_dictdata "${dict_options[@]}" -S)"
+ _comp_compgen_split -- "$(_dictdata ${dict_options[@]+"${dict_options[@]}"} -S)"
50
51
52
esac
0 commit comments