diff options
| author | Oliver Kiddle <opk@users.sourceforge.net> | 2003-06-25 09:03:04 +0000 |
|---|---|---|
| committer | Oliver Kiddle <opk@users.sourceforge.net> | 2003-06-25 09:03:04 +0000 |
| commit | a267832ddf4150652fde3936858841bb2edbd9ae (patch) | |
| tree | 961f0cbcaf8dbdaf2ff2e1a5409d644158f592bf /Completion/Unix/Command/_arp | |
| parent | 18628: update completion of reportbug and querybts to modern usage. (diff) | |
| download | zsh-a267832ddf4150652fde3936858841bb2edbd9ae.tar zsh-a267832ddf4150652fde3936858841bb2edbd9ae.tar.gz zsh-a267832ddf4150652fde3936858841bb2edbd9ae.tar.bz2 zsh-a267832ddf4150652fde3936858841bb2edbd9ae.tar.lz zsh-a267832ddf4150652fde3936858841bb2edbd9ae.tar.xz zsh-a267832ddf4150652fde3936858841bb2edbd9ae.tar.zst zsh-a267832ddf4150652fde3936858841bb2edbd9ae.zip | |
18631: returning too early breaks prefix-needed style set to false
Diffstat (limited to 'Completion/Unix/Command/_arp')
| -rw-r--r-- | Completion/Unix/Command/_arp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_arp b/Completion/Unix/Command/_arp index 9de19f67a..72b60fd2f 100644 --- a/Completion/Unix/Command/_arp +++ b/Completion/Unix/Command/_arp @@ -7,7 +7,7 @@ _arguments -C \ '(-a -s -f 1)-d[delete entry from table]:host:->hostintable' \ '(-a -d -f 1)-s[create an arp entry]:host:_hosts:ethernet address::*:option:(temp trail pub)' \ '(-a -d -s 1)-f[read multiple entries from file]:file:_files' \ - '(-a)1:host:->hostintable' && return 0 + '(-a)1:host:->hostintable' [[ "$state" = hostintable ]] && _wanted hosts expl 'host' compadd ${${${(f)"$(${words[1]} -a)"}##[ ?(]#}%%[ )]*} |
