Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: completion matching
- X-seq: zsh-workers 13003
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: completion matching
- Date: Mon, 16 Oct 2000 12:33:06 +0200 (MET DST)
- In-reply-to: "Bart Schaefer"'s message of Fri, 13 Oct 2000 16:47:18 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> On Oct 13, 10:41am, Sven Wischnowsky wrote:
> }
> } Playing with what Jay described in his last message showed two bugs in
> } the completion matching code:
>
> Are there tests for these we should be adding to Test/54compmatch.ztst?
Why not.
Bye
Sven
Index: Test/54compmatch.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/54compmatch.ztst,v
retrieving revision 1.5
diff -u -r1.5 54compmatch.ztst
--- Test/54compmatch.ztst 2000/08/14 15:45:43 1.5
+++ Test/54compmatch.ztst 2000/10/16 10:32:35
@@ -509,6 +509,22 @@
>line: {tst c00.abc }{}
>COMPADD:{}
+ workers_12995a_matcher='r:|/=* r:|=*'
+ workers_12995a_list=(u1 u1/q1 u1/q1/e1 u2 u2/q1 u2/q1/e2 u2/q1/e2/a1 u2/q1/e2/a2 u3 u3/q1 u4 u4/q u4/q/a1 u4/q/a2)
+ test_code $workers_12995a_matcher workers_12995a_list
+ comptest $'tst u/q/a\t'
+0:First test from workers 12995
+>line: {tst u4/q/a}{}
+>COMPADD:{}
+
+ workers_12995b_matcher='m:{a-z}={A-Z} r:|/=* r:|=*'
+ workers_12995b_list=(../Completion/Core ../Completion/Commands)
+ test_code $workers_12995b_matcher workers_12995b_list
+ comptest $'tst ../com/cor\002\002\002\002\002\002\002\t'
+0:Second test from workers 12995
+>line: {tst ../Completion/Core }{}
+>COMPADD:{}
+
%clean
zmodload -ui zsh/zpty
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author