From 0096deea56357c7c5dcbd63b8e55ed69821e310c Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 28 Jul 2015 21:28:26 +0300 Subject: [PATCH] .zshrc: Don't run dircolors on Darwin right now The coreutils in pkgsrc 2015Q2 is broken right now so we don't have dircolors on Darwin. Signed-off-by: Alan Orth --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 6d980a9..4429060 100644 --- a/.zshrc +++ b/.zshrc @@ -43,7 +43,7 @@ fi alias less='less -R' # preserves colors in GNU coreutils' `less` # solarized dircolors -[[ -r ~/.dircolors.ansi-dark ]] && eval `dircolors ~/.dircolors.ansi-dark` +[[ ! "$OSTYPE" =~ ^darwin.*$ ]] && [[ -r ~/.dircolors.ansi-dark ]] && eval `dircolors ~/.dircolors.ansi-dark` # Environment export PS1='[%n@%m: %~]$ '