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]
This commit is contained in:
parent
0d66550736
commit
4f7710c781
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue