Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _add-zsh-hook: add -L
- X-seq: zsh-workers 42736
- From: Daniel Hahler <genml+zsh-workers@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] _add-zsh-hook: add -L
- Date: Mon, 30 Apr 2018 14:31:53 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thequod.de; h= x-mailer:message-id:date:date:subject:subject:from:from:received :received:received; s=postfix2; t=1525091516; bh=SyfIZpQXw6S/RRT 4C4wSv9LMzZbRRyIgRwensh0o5CM=; b=MwK2DYQnhEBMscfpVGrfKgb5CDpCgbz hSUrUyEMbcX2IHC+FMKNequ9z1eiLn2vn4tNKatrkLpeBcuzOqKZciEtsEpQE0gz x0H+DlzDNS6rr9pycy3ZjVnEEFvGrDJJIdjSYtJYCHucvlRdUjuOXLxLlh5TiBeJ DTxmGG+BuF7U=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
From: Daniel Hahler <git@xxxxxxxxxx>
---
Completion/Zsh/Function/_add-zsh-hook | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Completion/Zsh/Function/_add-zsh-hook b/Completion/Zsh/Function/_add-zsh-hook
index e8ae97052..cb01cf5f6 100644
--- a/Completion/Zsh/Function/_add-zsh-hook
+++ b/Completion/Zsh/Function/_add-zsh-hook
@@ -14,8 +14,9 @@ _add-zsh-hook() {
local context state state_descr line
typeset -A opt_args
_arguments -s -w -S : \
- '(-D)-d[remove HOOK from the array]' \
- '(-d)-D[interpret HOOK as pattern to remove from the array]' \
+ '(-D,-L)-d[remove HOOK from the array]' \
+ '(-d,-L)-D[interpret HOOK as pattern to remove from the array]' \
+ '(-d,-D)-L[list current values of the array with typeset]' \
{-U,-z,-k}"[passed to 'autoload']" \
':hook class:(chpwd precmd preexec periodic zshaddhistory zshexit zsh_directory_name)' \
':hook function:_add-zsh-hook_hooks'
--
2.17.0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author