From 4f7710c781767e8c024048d6558b501652069e98 Mon Sep 17 00:00:00 2001 From: Chauncey Garrett Date: Fri, 29 Aug 2014 11:31:46 -0500 Subject: [PATCH] Set CLICOLOR to colorize ls `ls --color-auto` is not correct of OS X. Set the environment variable instead (same as using ls -G). [ticket: X] --- modules/utility/init.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index 58d74959..558fca1b 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -86,7 +86,8 @@ else # Define colors for the completion system. export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=36;01:cd=33;01:su=31;40;07:sg=36;40;07:tw=32;40;07:ow=33;40;07:' - alias ls='ls --color=auto' + # Enable colors for the command line interface. + export CLICOLOR=1 else alias ls='ls -F' fi