Browse Source

Ensure dircolors uses sh syntax

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
master
eukaryote 10 years ago committed by Sorin Ionescu
parent
commit
493bf302f6
  1. 4
      modules/utility/init.zsh

4
modules/utility/init.zsh

@ -66,9 +66,9 @@ if is-callable 'dircolors'; then @@ -66,9 +66,9 @@ if is-callable 'dircolors'; then
if zstyle -t ':prezto:module:utility:ls' color; then
if [[ -s "$HOME/.dir_colors" ]]; then
eval "$(dircolors "$HOME/.dir_colors")"
eval "$(dircolors --sh "$HOME/.dir_colors")"
else
eval "$(dircolors)"
eval "$(dircolors --sh)"
fi
alias ls="$aliases[ls] --color=auto"

Loading…
Cancel
Save