diff options
author | davey hathorn <dhathorn@berkeley.edu> | 2020-04-20 21:42:37 -0700 |
---|---|---|
committer | dana <dana@dana.is> | 2020-04-21 00:26:59 -0500 |
commit | 013c87e3f32f71fc6aa47186e41f0bb51f44af9a (patch) | |
tree | 957eae62a9d5654b0bcadbfdd5bb8bebbea9e541 /Completion/Unix/Command/_dig | |
parent | 3241a13573dfc2adec56f1eab500359c6b0ad80f (diff) | |
download | zsh-013c87e3f32f71fc6aa47186e41f0bb51f44af9a.tar.gz zsh-013c87e3f32f71fc6aa47186e41f0bb51f44af9a.tar.xz zsh-013c87e3f32f71fc6aa47186e41f0bb51f44af9a.zip |
github #54: Fix dig completion error
Diffstat (limited to 'Completion/Unix/Command/_dig')
-rw-r--r-- | Completion/Unix/Command/_dig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_dig b/Completion/Unix/Command/_dig index d2ffb0a33..5245a2964 100644 --- a/Completion/Unix/Command/_dig +++ b/Completion/Unix/Command/_dig @@ -89,7 +89,7 @@ if [[ -n $state ]]; then _wanted hosts expl 'DNS server' _hosts && ret=0; else case $#line in - <3->) alts+=( 'classes:query class:compadd -M "m\:{a-z}={A-Z}" - IN CS CH HS' ) ;& + <3->) alts+=( 'classes:query class:compadd -M "m:{a-z}={A-Z}" - IN CS CH HS' ) ;& 2) alts+=( 'types:query type:_dns_types' ) ;; esac _alternative 'hosts:host:_hosts' $alts && ret=0 |