From 493bf302f6984a0f82a37acacb8c4942fcc3be8d Mon Sep 17 00:00:00 2001 From: eukaryote Date: Thu, 17 Apr 2014 08:30:18 -0700 Subject: [PATCH] Ensure dircolors uses sh syntax Signed-off-by: Sorin Ionescu --- modules/utility/init.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index 2c34a74d..5f7cffb9 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -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"