Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Multipart completion problem?
- X-seq: zsh-workers 5898
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Multipart completion problem?
- Date: Tue, 23 Mar 1999 13:48:51 +0100 (MET)
- In-reply-to: Sven Wischnowsky's message of Tue, 23 Mar 1999 13:35:45 +0100 (MET)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I wrote:
> ...
>
> The missing slash was caused by a incomplete pattern when weeding out
> the names not matching what's on the line.
The test I just added was too restrictive, sorry folks.
Bye
Sven
diff -u oc/Core/_path_files Completion/Core/_path_files
--- oc/Core/_path_files Tue Mar 23 13:36:24 1999
+++ Completion/Core/_path_files Tue Mar 23 13:47:14 1999
@@ -424,7 +424,7 @@
suffixes=( $str$^pats )
suffixes=( "${(@)suffixes:gs.**.*.}" )
tmp2=( ${~tmp1}${~matchflags}${~suffixes} )
- tmp2=("${(@M)tmp2:#${tmp1}$~patlast}")
+ tmp2=("${(@M)tmp2:#*$~patlast}")
if [[ $#tmp2 -eq 0 ]]; then
# No match, insert the expanded path and add the original tail.
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author