Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 2/2] _zed: Support the '--' end-of-options mark.
- X-seq: zsh-workers 39424
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 2/2] _zed: Support the '--' end-of-options mark.
- Date: Fri, 23 Sep 2016 06:47:32 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:in-reply-to:message-id :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=qslPq jKix5IKyxZJHbZyxT+MmYw=; b=Ixm4CKYhBRt6HO+163U1Ytt2MQRc8fYCQi8wb Y2HneKR6uNMnbqbfWxVRW7IYYTuFyU9QQCb1X0e4/vJrtgcSAnje/+V4sXmaVuLT 7JhhtJBrZubVP5Der9kH5yXQvMG46AEnrA8OgB0MC8B0sFmZjblLNeN0Zmq7a712 TWRHGI=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:in-reply-to:message-id :references:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=qslP qjKix5IKyxZJHbZyxT+MmYw=; b=NkgpSrjV9qUFHW9dOT+qD71w1Gv1o5UAnY2l iE7DYODeUTDSplzLiBSOlsA+3wu/bio7GglRnXJVaAWYA9tYn/+/KMpROZ8v706J ABar4qkAyMGmttcpdl3ArZ2NoW3zBLEk1Lo5q7ZBeG3PmcNG9c2nEzelNUjNBV5o Euat8Sw=
- In-reply-to: <1474613252-3229-1-git-send-email-danielsh@fujitsu.shahaf.local2>
- 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
- References: <1474613252-3229-1-git-send-email-danielsh@fujitsu.shahaf.local2>
This matters for fned'ing vcs_info hooks.
---
Completion/Zsh/Command/_zed | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Completion/Zsh/Command/_zed b/Completion/Zsh/Command/_zed
index 184234b..211dae7 100644
--- a/Completion/Zsh/Command/_zed
+++ b/Completion/Zsh/Command/_zed
@@ -1,7 +1,9 @@
#compdef zed fned
case $service in
-(fned) _arguments ':shell function:_functions';;
-(zed) _arguments '(-):file:_files' \
- '(:)-f[edit function]:shell function:_functions';;
+(fned) _arguments -S : ':shell function:_functions';;
+(zed) _arguments -S : \
+ '(- 2):file:_files' \
+ '(1):shell function:_functions' \
+ '(1)-f[edit function]';;
esac
Messages sorted by:
Reverse Date,
Date,
Thread,
Author