From bc4351cfab05a9ab1aa6013f7e5e65a8c211475c Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Tue, 11 Sep 2012 01:57:06 -0400 Subject: [PATCH] [Fix #283] Define $LS_COLORS for completion --- modules/utility/init.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index c7c7084c..7ba23e23 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -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'