Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Colored completion listings
- X-seq: zsh-workers 25008
- From: sergio <zsh@xxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Re: Colored completion listings
- Date: Mon, 12 May 2008 20:40:49 +0400
- In-reply-to: <20080512170449.45adb932@news01>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <4828347A.8070503@xxxxxxxxxxxxx> <20080512170449.45adb932@news01>
Peter Stephenson wrote:
>> 1) zsh highlights broken symlinks as unbroken. but mi color is defined
>> and ls highlights it whith correct color.
>
> My understanding of ls, and experiment, suggest you mean "or".
yes.
However, I've fixed "or".
Great.
I correctly understand, that 'mi' is unused in zsh? (But it described in
manpage)
>> 2) zsh highlights directories like test.jpg as jpeg file
>> color for directories is defined before *.jpg
>
> Yes, the logic is the wrong way round. File type tests from stat should
> come before extension tests. (This can be kind of annoying in files from
> Windows that leave execute permissions all over the place but being
> compatible with ls is preferable.)
find -type f -exec chmod a-x {} \; or chmod a-x **/*(.) (:
--
sergio
Messages sorted by:
Reverse Date,
Date,
Thread,
Author