[Fix #283] Define $LS_COLORS for completion

This commit is contained in:
Sorin Ionescu 2012-09-11 01:57:06 -04:00
parent 468047a7f9
commit bc4351cfab

View file

@ -76,7 +76,12 @@ if is-callable 'dircolors'; then
else
# BSD Core Utilities
if zstyle -t ':prezto:module:utility:ls' color; then
# Define colors for BSD ls.
export LSCOLORS="exfxcxdxbxegedabagacad"
# 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 -G"
else
alias ls='ls -F'