Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
why files do not follow LS_COLORS?
- X-seq: zsh-users 16895
- From: Leonardo Barbosa <barbosa.leonardo@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: why files do not follow LS_COLORS?
- Date: Fri, 16 Mar 2012 08:39:06 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=4qztZk8GI9fps/t8/aXi8ticHrnsUQac8q39gCBe4d8=; b=EiDhNGDwW5pAjWd6LBg+OAABwalsto8Z+LsVwbaLFBiqTfZw5naKlzIKeNg+rCZzVg QTZEkzzrzCh8oKJfUuyQbGWxIC59PNSroEmwTo5YBAuRIEhL3CXcsFRSHWaLPvhhom/b Sgb/4wl/ubXXucqolIuA69LCZyLRyn2VFywfOQcpuAEcl154Qt7sux0rBIcExOWywjNm WTjf+KWGA58sFVABz2Fj213JnBs+dH+d0/Ni3P27RfNhz3VjGyz9uT77Nj5Ujr341Ibm f2d6IVReBlFlbu0uASq+8bP2G8rY/KhAM2D6Hty2rg9IoG/LmBckJlZF3/hJA0wDY8NK 2tGA==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author