Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
extended compctl bug in 3.1.5
- X-seq: zsh-workers 6785
- From: greg@xxxxxxxxxxxxxx (Greg Klanderman)
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh list)
- Subject: extended compctl bug in 3.1.5
- Date: Tue, 22 Jun 1999 09:21:47 -0400 (EDT)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- Reply-to: greg@xxxxxxxxxxxxxx
Hi,
I hope this example will illustrate two bugs in using the "R" pattern
in extended completion:
compctl -k '(foo bar)' -x 'R[bar,foo]' -k '(a b c)' \
- 'R[foo,;]' -k '(1 2 3)' -- foobar
First, type "foobar foo", with no space after "foo" and hit TAB. You
get a beep and no completions, because the 'R[foo,;]' clause is
matching even though you are not after but ON the word with prefix
'foo'. I would expect it to complete "foo" by appending the suffix
space.
Second, type "foobar foo bar ", with a space after "bar". Hit TAB and
you get the completions "a", "b", and "c", which you should not, as
you are not before "foo".
Please include me in any reply as I am not on the list.
thanks,
Greg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author