Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _zpool: fix option completion of subcommands
- X-seq: zsh-workers 35663
- From: Eric Cook <llua@xxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] _zpool: fix option completion of subcommands
- Date: Mon, 29 Jun 2015 14:03:07 -0400
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
This seem to have been needed with oliver's previous fix.
% zpool create -<tab>
Completing no more arguments
Completing unknown zpool subcommand: zpool
---
Completion/Unix/Command/_zpool | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Completion/Unix/Command/_zpool b/Completion/Unix/Command/_zpool
index 03ebd06..f2116dc 100644
--- a/Completion/Unix/Command/_zpool
+++ b/Completion/Unix/Command/_zpool
@@ -86,7 +86,7 @@ _zpool() {
)
if [[ $service == "zpool" ]]; then
- _arguments -C -A "-*" \
+ _arguments -C \
'-\?[show help information]' \
'1:subcommand:compadd -a subcmds' \
'*:: :->subcmd' && return
--
2.4.2
Messages sorted by:
Reverse Date,
Date,
Thread,
Author