[Fix #283] Define $LS_COLORS for completion
This commit is contained in:
parent
468047a7f9
commit
bc4351cfab
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue