From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: PATCH: _path_files -g
Date: Sun, 09 Jan 2000 18:44:31 +0000 [thread overview]
Message-ID: <E127NIM-00048r-00.2000-01-09-18-42-30@cmailg1.svr.pol.co.uk> (raw)
Completion of .dvi files has seized up because _path_files insists on using
$fignore. I don't think fignore or even ignored-suffixes should be used
with an explicit glob pattern. This is how it used to work. You could
work around it with ignored-suffixes, but styles are for user preferences,
not to fix up things that should work anyway, so I think the same argument
as for fignore applies.
Index: Completion/Core/_path_files
===================================================================
RCS file: /home/pws/CVSROOT/projects/zsh/Completion/Core/_path_files,v
retrieving revision 1.13
diff -u -r1.13 _path_files
--- Completion/Core/_path_files 2000/01/07 19:42:02 1.13
+++ Completion/Core/_path_files 2000/01/08 21:58:07
@@ -160,7 +160,7 @@
# If given no `-F' option, we want to use the `ignored-suffixes'-style.
-if (( ! $#ignore )); then
+if [[ $#ignore -eq 0 && -z $gopt ]]; then
if zstyle -a ":completion${curcontext}:files" ignored-suffixes ignore; then
ignore=(-F "( $ignore )")
else
--
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
next reply other threads:[~2000-01-09 18:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-09 18:44 Peter Stephenson [this message]
2000-01-11 8:48 Sven Wischnowsky
2000-01-11 18:34 ` Peter Stephenson
2000-01-12 15:25 Sven Wischnowsky
2000-01-12 21:03 ` Tanaka Akira
2000-01-12 15:27 Sven Wischnowsky
2000-01-13 8:52 Sven Wischnowsky
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=E127NIM-00048r-00.2000-01-09-18-42-30@cmailg1.svr.pol.co.uk \
--to=pws@pwstephenson.fsnet.co.uk \
--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).