From: Mikael Magnusson <mikachu@gmail.com>
To: zsh-workers@zsh.org
Subject: PATCH: _awk: Allow sticked option forms
Date: Thu, 28 Mar 2013 12:06:06 +0100 [thread overview]
Message-ID: <1364468766-19291-1-git-send-email-mikachu@gmail.com> (raw)
This came up on irc,
<Mikachu> can you give a concrete example of a situation where the awk completion doesn't do what you want?
<iaj> Mikachu: well if I had typed: awk -F\; '{print $1}' <TAB>
<iaj> nothing would show up
---
Completion/Unix/Command/_awk | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Completion/Unix/Command/_awk b/Completion/Unix/Command/_awk
index da748e9..c493c3b 100644
--- a/Completion/Unix/Command/_awk
+++ b/Completion/Unix/Command/_awk
@@ -14,8 +14,8 @@
# Fixing this is beyond my current _arguments expertise--help
# appreciated.
-_arguments -S -s '-F[define input field separator to be an extended regular expression]:extended regular expression:' \
- '*-v[assign values to variables]:assignment:' \
- '(1)-f[program file]:program file:_files' \
+_arguments -S -s '-F+[define input field separator to be an extended regular expression]:extended regular expression:' \
+ '*-v+[assign values to variables]:assignment:' \
+ '(1)-f+[program file]:program file:_files' \
'1:program text:' \
'*:input files:_files'
--
1.8.2-rc3
reply other threads:[~2013-03-28 11:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364468766-19291-1-git-send-email-mikachu@gmail.com \
--to=mikachu@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).