1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-01 03:51:12 +00:00

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