diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index d7c4f08..ea31138 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -69,6 +69,7 @@ if is-callable 'dircolors'; then else eval "$(dircolors)" fi + alias ls="$aliases[ls] --color=auto" else alias ls="$aliases[ls] -F" @@ -77,12 +78,12 @@ else # BSD Core Utilities if zstyle -t ':prezto:module:utility:ls' color; then # Define colors for BSD ls. - export LSCOLORS="exfxcxdxbxGxDxabagacad" + export LSCOLORS='exfxcxdxbxGxDxabagacad' # 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:" + 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 alias ls='ls -F' fi