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 | |
| parent | unposted: NEWS, README: Document zsh/system changes from workers/45708 (diff) | |
| download | zsh-013c87e3f32f71fc6aa47186e41f0bb51f44af9a.tar zsh-013c87e3f32f71fc6aa47186e41f0bb51f44af9a.tar.gz zsh-013c87e3f32f71fc6aa47186e41f0bb51f44af9a.tar.bz2 zsh-013c87e3f32f71fc6aa47186e41f0bb51f44af9a.tar.lz zsh-013c87e3f32f71fc6aa47186e41f0bb51f44af9a.tar.xz zsh-013c87e3f32f71fc6aa47186e41f0bb51f44af9a.tar.zst zsh-013c87e3f32f71fc6aa47186e41f0bb51f44af9a.zip | |
github #54: Fix dig completion error
Diffstat (limited to 'Completion/Unix/Command')
| -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 |
