Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _awk: Allow sticked option forms
- X-seq: zsh-workers 31182
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: _awk: Allow sticked option forms
- Date: Thu, 28 Mar 2013 12:06:06 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:x-mailer; bh=fIa9Q4EpcEbLGhcfNCin5vE59HQRIyaTtZJfSv8lXaU=; b=zYeM3Ul5bfDGcSwuq1/eR76IZAbJqp7Q6VYrUs0N3MxzUMh1APN9vvHHj8hhrBtbfK Ahm3NnJwEONE02b2u/UfNaRmj9aH2Md+Rvx6nmAenqmbaKrMIQz+mT3iBMeEFOcrYh6U /33VLw+OHGxokMsbAJLdQ+wqXCNCerqEsPCEu3jmDAspFFMVVPlQP/AHWr3fuADGoxXu rW8x4vcSBFCxf6co0b5U0R9buUyUgjer9BCgWbE1t+yaMyppvXy7i2GsokZFZNbbI+yg hpI3y8e8lhNsgu3+ruJQp0CCq+ysRg+hsvRj2RdjO5MEKo4aKu9zLuPV4mhKWODA5XuY 5sYA==
- 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 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author