Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion and dircolors problem
- X-seq: zsh-users 13507
- From: Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Completion and dircolors problem
- Date: Sun, 30 Nov 2008 17:58:39 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <ggrrv4$6ol$1@xxxxxxxxxxxxx> <20081130004457.237f7944@pws-pc> <ggsq3v$3ie$1@xxxxxxxxxxxxx> <081129174552.ZM5986@xxxxxxxxxxxxxxxxxxxxxx> <ggt03e$h4f$1@xxxxxxxxxxxxx> <081129202218.ZM6226@xxxxxxxxxxxxxxxxxxxxxx> <ggue8n$j7e$1@xxxxxxxxxxxxx> <237967ef0811300830i4e96261bx227b4d7b341e23de@xxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
* Mikael Magnusson (Sun, 30 Nov 2008 17:30:20 +0100)>
> 2008/11/30 Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>:
> > 4.3.6. So this is expected?! As I said I don't set the list-colors
> > manually but I let zsh read my LS_COLORS (tip from the user guide
> > ("list-colors ${(s.:.)LS_COLORS}")).
> >
> > So if I understand it correctly the external command dircolors
> > understands "LINK target" - while zsh does not ("ln=target") until
> > 4.3.9?!
>
> You can filter out the ln with an expression like
> ${${(s.:.)LS_COLORS}%ln=*}, then you probably want to add an explicit
> 'ln=0;36' too after. Ie,
> zstyle ':completion:*' list-colors ${(s.:.)${LS_COLORS}%ln=*} 'ln=00;36'
> [...]
> If you want to be fancy, you can make the above depend on $ZSH_VERSION
> too, but it's probably easier to just remove it when you update zsh.
I commented it out in ~/.dir_colors and I will re-enable it when
Gentoo's zsh gets updated.
Thorsten
Messages sorted by:
Reverse Date,
Date,
Thread,
Author