From: Sven Wischnowsky <wischnow@berkom.de>
To: zsh-workers@sunsite.dk
Subject: Re: unzip and _path_files interaction
Date: Wed, 29 May 2002 17:03:57 +0200 [thread overview]
Message-ID: <15604.60893.312758.631636@wischnow.berkom.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0205290752310.29013-100000@ns1.sodaware.com>
Bart Schaefer wrote:
> ...
>
> I think (z) should keep working the way it does, or at least we need
> somthing that does work the way it now does. So for the time being I'd
> go with the second patch.
I was feeling the same way...
Bye
Sven
Index: Completion/Unix/Type/_path_files
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Type/_path_files,v
retrieving revision 1.17
diff -u -r1.17 _path_files
--- Completion/Unix/Type/_path_files 21 May 2002 07:35:34 -0000 1.17
+++ Completion/Unix/Type/_path_files 29 May 2002 15:03:36 -0000
@@ -23,9 +23,11 @@
(( $tmp1[(I)-[/g]*] )) && haspats=yes
(( $tmp1[(I)-g*] )) && gopt=yes
if (( $tmp1[(I)-/] )); then
- pats=( '*(-/)' ${(z)${(M)tmp1:#-g*}#-g} )
+ pats="${(@)${(@M)tmp1:#-g*}#-g}"
+ pats=( '*(-/)' ${${(z):-x $pats}[2,-1]} )
else
- pats=( "${(@z)${(@M)tmp1:#-g*}#-g}" )
+ pats="${(@)${(@M)tmp1:#-g*}#-g}"
+ pats=( ${${(z):-x $pats}[2,-1]} )
fi
pats=( "${(@)pats:# #}" )
--
Sven Wischnowsky wischnow@berkom.de
prev parent reply other threads:[~2002-05-29 15:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-28 13:12 Clint Adams
2002-05-29 11:30 ` Sven Wischnowsky
2002-05-29 14:57 ` Bart Schaefer
2002-05-29 15:03 ` Sven Wischnowsky [this message]
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=15604.60893.312758.631636@wischnow.berkom.de \
--to=wischnow@berkom.de \
--cc=zsh-workers@sunsite.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).