|
|
@ -62,7 +62,7 @@ alias type='type -a'
|
|
|
|
# ls
|
|
|
|
# ls
|
|
|
|
if is-callable 'dircolors'; then
|
|
|
|
if is-callable 'dircolors'; then
|
|
|
|
# GNU Core Utilities
|
|
|
|
# GNU Core Utilities
|
|
|
|
alias ls='ls --group-directories-first'
|
|
|
|
alias ls='ls --group-directories-first -F'
|
|
|
|
|
|
|
|
|
|
|
|
if zstyle -t ':prezto:module:utility:ls' color; then
|
|
|
|
if zstyle -t ':prezto:module:utility:ls' color; then
|
|
|
|
if [[ -s "$HOME/.dir_colors" ]]; then
|
|
|
|
if [[ -s "$HOME/.dir_colors" ]]; then
|
|
|
@ -71,7 +71,7 @@ if is-callable 'dircolors'; then
|
|
|
|
eval "$(dircolors --sh)"
|
|
|
|
eval "$(dircolors --sh)"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
alias ls="${aliases[ls]:-ls} --color=auto"
|
|
|
|
alias ls="${aliases[ls]:-ls} --color=auto -F"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
alias ls="${aliases[ls]:-ls} -F"
|
|
|
|
alias ls="${aliases[ls]:-ls} -F"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
@ -84,7 +84,7 @@ else
|
|
|
|
# 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="${aliases[ls]:-ls} -G"
|
|
|
|
alias ls="${aliases[ls]:-ls} -GF"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
alias ls="${aliases[ls]:-ls} -F"
|
|
|
|
alias ls="${aliases[ls]:-ls} -F"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|