From f5b1d17f62fc8f9e161eaed516b0f44d729f6a12 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Mon, 19 Dec 2011 03:23:22 -0500 Subject: actually use the dircolors conf file --- zsh/appearance.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zsh') diff --git a/zsh/appearance.zsh b/zsh/appearance.zsh index de0232b..c1c18a3 100644 --- a/zsh/appearance.zsh +++ b/zsh/appearance.zsh @@ -5,12 +5,12 @@ if [ -e /usr/local/bin/gls ]; then # if GNU ls is installed (e.g. on BSD), use it alias ls='/usr/local/bin/gls --color=tty' - export LS_COLORS="rs=0:di=34:ln=36:pi=40;33:so=35:do=35:bd=40;33:cd=40;33:or=40;31:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=32" + eval `gdircolors ~/.dircolors.conf` else # otherwise, detect which version of ls is on the path if $(ls --color -d . &>/dev/null 2>&1); then alias ls='ls --color=tty' - export LS_COLORS="rs=0:di=34:ln=36:pi=40;33:so=35:do=35:bd=40;33:cd=40;33:or=40;31:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=32" + eval `gdircolors ~/.dircolors.conf` else alias ls='ls -G' export LSCOLORS="exgxbxdxcxegedxbxgxcxd" -- cgit v1.2.3