From: sergio <zsh@sergio.spb.ru>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Re: Colored completion listings
Date: Mon, 12 May 2008 20:40:49 +0400 [thread overview]
Message-ID: <48287311.5040601@sergio.spb.ru> (raw)
In-Reply-To: <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
next prev parent reply other threads:[~2008-05-12 16:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-12 12:13 sergio
2008-05-12 16:04 ` Peter Stephenson
2008-05-12 16:40 ` sergio [this message]
2008-05-12 16:46 ` Peter Stephenson
2008-05-12 17:01 ` Andrey Borzenkov
2008-05-12 16:55 ` Andrey Borzenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48287311.5040601@sergio.spb.ru \
--to=zsh@sergio.spb.ru \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).