From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: ${_comps[(K)*diff*]}
Date: Fri, 10 Mar 2000 10:54:32 +0100 (MET) [thread overview]
Message-ID: <200003100954.KAA03102@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Bart Schaefer"'s message of Thu, 9 Mar 2000 18:43:05 +0000
Bart Schaefer wrote:
> On Mar 9, 7:50pm, Andrej Borsenkow wrote:
> } Subject: ${_comps[(K)*diff*]}
> }
> } Do I miss something?
> }
> } bor@itsrm2% print ${_comps[(R)*diff*]}
> } _diff _diff
> } bor@itsrm2% print ${_comps[(K)*diff*]}
> } === nothing ===
>
> What you miss is that [(k)...] and [(K)...] don't do pattern-matching
> on the keys. I have an idea what's going wrong, but I don't have time
> to fix it right now.
(I don't see anything wrong here, what am I missing?)
But this made me notice that we have _use_lo as the default completion
function for gdiff. This was an oversight, right?
Bye
Sven
diff -ru ../z.old/Completion/User/_diff Completion/User/_diff
--- ../z.old/Completion/User/_diff Fri Mar 10 10:29:21 2000
+++ Completion/User/_diff Fri Mar 10 10:53:01 2000
@@ -1,3 +1,3 @@
-#compdef diff
+#compdef diff gdiff
_diff_options ':original file:_files' ':new file:_files'
diff -ru ../z.old/Completion/User/_use_lo Completion/User/_use_lo
--- ../z.old/Completion/User/_use_lo Fri Mar 10 10:29:27 2000
+++ Completion/User/_use_lo Fri Mar 10 10:52:56 2000
@@ -1,4 +1,4 @@
-#compdef gls gdiff
+#compdef gls
# This is for GNU-like commands which understand the --help option,
# but which do not otherwise require special completion handling.
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-03-10 9:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-10 9:54 Sven Wischnowsky [this message]
2000-03-10 10:04 ` ${_comps[(K)*diff*]} Andrej Borsenkow
-- strict thread matches above, loose matches on Subject: below --
2000-03-10 10:32 ${_comps[(K)*diff*]} Sven Wischnowsky
2000-03-10 10:57 ` ${_comps[(K)*diff*]} Andrej Borsenkow
2000-03-09 16:50 ${_comps[(K)*diff*]} Andrej Borsenkow
2000-03-09 18:43 ` ${_comps[(K)*diff*]} Bart Schaefer
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=200003100954.KAA03102@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/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).