Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#535851: zsh: completion does not work anymore with some specific applications
- X-seq: zsh-workers 27209
- From: Clint Adams <clint@xxxxxxx>
- To: Sylvain Chevillard <sylvain.chevillard@xxxxxxxxxxx>, 535851@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#535851: zsh: completion does not work anymore with some specific applications
- Date: Wed, 5 Aug 2009 00:45:33 +0000
- In-reply-to: <20090805002459.GB1855@xxxxxxxx>
- Mail-followup-to: Sylvain Chevillard <sylvain.chevillard@xxxxxxxxxxx>, 535851@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20090705150916.2495.13954.reportbug@xxxxxxxxxxxxxxxxxxxxxx> <20090705182505.GA23176@xxxxxxxx> <4A50FC4E.8050200@xxxxxxxxxxx> <20090710234211.GA6977@xxxxxxxx> <4A608C61.8080602@xxxxxxxxxxx> <20090718131338.GA13923@xxxxxxxx> <4A756598.9040403@xxxxxxxxxxx> <20090802152642.GA1792@xxxxxxxx> <20090804165438.1613184r44tad8ry@xxxxxxxxxxxxxxxxxxx> <20090805002459.GB1855@xxxxxxxx>
On Wed, Aug 05, 2009 at 12:24:59AM +0000, Clint Adams wrote:
> I hope this does the right thing.
It does not.
Index: Completion/Unix/Type/_path_files
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Type/_path_files,v
retrieving revision 1.46
diff -u -r1.46 _path_files
--- Completion/Unix/Type/_path_files 5 Aug 2009 00:28:34 -0000 1.46
+++ Completion/Unix/Type/_path_files 5 Aug 2009 00:44:46 -0000
@@ -160,7 +160,7 @@
if _have_glob_qual "$tmp1" complete; then
# unbalanced parenthesis is correct: match[1] contains the start,
# match[5] doesn't contain the end.
- tmp2+=( "${match[1]}${match[5]})(${sort})" )
+ tmp2+=( "${match[1]}#q${sort})(${match[5]})" )
else
tmp2+=( "${tmp1}(${sort})" )
fi
Messages sorted by:
Reverse Date,
Date,
Thread,
Author