From: Leonardo Barbosa <barbosa.leonardo@gmail.com>
To: zsh-users@zsh.org
Subject: why files do not follow LS_COLORS?
Date: Fri, 16 Mar 2012 08:39:06 -0300 [thread overview]
Message-ID: <CAMXWGTyA0mVpBoUGOoZFr0qThK+FV3uW4xZVcHBt1N17mN-uXQ@mail.gmail.com> (raw)
Hi,
I am using zsh and i trying to set "ls" colors like this. Files are
colored, but they do not follow the colors i set. Curiously enough,
during file completion they do.
Any idea?
I am using OS X Lion
Thanks in advance
--L
export LS_COLORS='no=00:fi=00:di=05;33:ln=01;36:pi=40;33:
so=01;35:do=01;35:bd=40;33;01:cd=40;33;01r=40;31 ;01:ex=01;32.tar
if ls --color &>/dev/null; then
LS_OPTIONS="--color" # gnu (linux)
else
LS_OPTIONS="-G" # mac
fi
export LS_OPTIONS
# ls aliases
alias ls='ls $LS_OPTIONS -F'
next reply other threads:[~2012-03-16 11:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-16 11:39 Leonardo Barbosa [this message]
2012-03-16 18:07 ` Benjamin R. Haskell
2012-03-16 21:20 ` Alex Satrapa
2012-03-17 21:31 ` S. Cowles
2012-03-17 23:25 ` TJ Luoma
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=CAMXWGTyA0mVpBoUGOoZFr0qThK+FV3uW4xZVcHBt1N17mN-uXQ@mail.gmail.com \
--to=barbosa.leonardo@gmail.com \
--cc=zsh-users@zsh.org \
/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).