Browse Source

Increase readability in utility init

master
Sorin Ionescu 12 years ago
parent
commit
c8b82afeec
  1. 7
      modules/utility/init.zsh

7
modules/utility/init.zsh

@ -69,6 +69,7 @@ if is-callable 'dircolors'; then
else else
eval "$(dircolors)" eval "$(dircolors)"
fi fi
alias ls="$aliases[ls] --color=auto" alias ls="$aliases[ls] --color=auto"
else else
alias ls="$aliases[ls] -F" alias ls="$aliases[ls] -F"
@ -77,12 +78,12 @@ 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. # Define colors for BSD ls.
export LSCOLORS="exfxcxdxbxGxDxabagacad" export LSCOLORS='exfxcxdxbxGxDxabagacad'
# Define colors for the completion system. # 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 else
alias ls='ls -F' alias ls='ls -F'
fi fi

Loading…
Cancel
Save