* PATCH: _awk: Allow sticked option forms
@ 2013-03-28 11:06 Mikael Magnusson
0 siblings, 0 replies; only message in thread
From: Mikael Magnusson @ 2013-03-28 11:06 UTC (permalink / raw)
To: zsh-workers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-28 11:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-28 11:06 PATCH: _awk: Allow sticked option forms Mikael Magnusson
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).