From 661db21fc89a2e438631083656371c75d818a051 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Mon, 24 Dec 2012 20:04:14 +0200 Subject: [PATCH] zshrc: fix error about dircolors not found on Mac. (git commit --amend) --- zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 47b8f7c2..9be2188b 100644 --- a/zshrc +++ b/zshrc @@ -38,7 +38,9 @@ zstyle ':completion:*' completer _expand _complete _correct _approximate zstyle ':completion:*' format 'Completing %d' zstyle ':completion:*' group-name '' zstyle ':completion:*' menu select=2 -eval "$(dircolors -b)" +if [ $UNAME != "Darwin" ]; then + eval "$(dircolors -b)" +fi zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*' list-colors '' zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s