Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Glob qualifiers not working in coloured completion listings
- X-seq: zsh-users 13808
- From: David Evans <David.Evans@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Glob qualifiers not working in coloured completion listings
- Date: Mon, 9 Feb 2009 16:30:14 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi there.
Look at this:
reddwarf:~/foo> zsh --version
zsh 4.3.4 (powerpc-apple-darwin9.0)
reddwarf:~/foo> ls
./ ../ d1/ d2
reddwarf:~/foo> ls -d d*(/)
d1/
reddwarf:~/foo> zstyle ':completion:*' list-colors "=d*=$colour[green]"
reddwarf:~/foo> ls -d d<TAB>
d1/ d2
[ both are green ]
reddwarf:~/foo> zstyle ':completion:*' list-colors "=d*(/)=$colour[green]"
reddwarf:~/foo> ls -d d<TAB>
d1/ d2
[ d1 isn't green! ]
So d*(/) matches what's expected when expanded as part of the execution
of ls -d, but not when used in list-colors. Any ideas?
Thanks in advance!
--
David Evans David.Evans@xxxxxxxxxxxx
Research Associate http://www.cl.cam.ac.uk/~de239
Computer Laboratory, University of Cambridge
Messages sorted by:
Reverse Date,
Date,
Thread,
Author