From 1920e5b76ad6e46513eb6dc792748c26a03e1402 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 2 Aug 2013 02:38:33 -0400 Subject: [PATCH] Mac doesn't like --color on ls --- zsh/aliases | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zsh/aliases b/zsh/aliases index 0ae52cfb..fbfb3b0d 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -2,7 +2,11 @@ # Aliases # ############# -alias ls='ls -G --color' +if is_mac; then + alias ls='ls -G' +else + alias ls='ls -G --color' +fi alias ll='ls -l' alias la='ls -la' alias l.='ls -Ad .*'