aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/appearance.zsh4
1 files changed, 2 insertions, 2 deletions
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"