Browse Source

[Fix #283] Define $LS_COLORS for completion

master
Sorin Ionescu 12 years ago
parent
commit
bc4351cfab
  1. 5
      modules/utility/init.zsh

5
modules/utility/init.zsh

@ -76,7 +76,12 @@ if is-callable 'dircolors'; then @@ -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'

Loading…
Cancel
Save