From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: small thinko in _jobs
Date: Tue, 18 Jan 2000 14:58:16 +0100 (MET) [thread overview]
Message-ID: <200001181358.OAA01072@beta.informatik.hu-berlin.de> (raw)
_jobs with the -t option performs the prefix-needed test. This test
was slightly wrong.
Bye
Sven
diff -ru ../z.old/Completion/Base/_jobs Completion/Base/_jobs
--- ../z.old/Completion/Base/_jobs Tue Jan 18 12:37:36 2000
+++ Completion/Base/_jobs Tue Jan 18 14:53:53 2000
@@ -6,7 +6,7 @@
if [[ "$1" = -t ]]; then
zstyle -t ":completion${curcontext}:jobs" prefix-needed &&
- [[ "$PREFIX" != %* || compstate[nmatches] -eq 0 ]] && return 1
+ [[ "$PREFIX" != %* && compstate[nmatches] -ne 0 ]] && return 1
shift
fi
zstyle -t ":completion${curcontext}:jobs" prefix-hidden && pfx=''
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
reply other threads:[~2000-01-18 13:58 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=200001181358.OAA01072@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).