From e184e5ba3d34ef31922e611dcab77e90b0f7877c Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 22 Jun 2012 13:45:51 +0900 Subject: [PATCH] ls of darwin dont accept --color and --time-style option --- bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 00a50a9..0a4c8b6 100755 --- a/bashrc +++ b/bashrc @@ -73,8 +73,8 @@ echo ################################### # some aliases and functions -test "$TERM" == dumb || _coloroption=" --color=always" -iswindows || _timeoption=" --time-style=long-iso" +isdarwin || test "$TERM" == dumb || _coloroption=" --color=always" +isdarwin || iswindows || _timeoption=" --time-style=long-iso" alias ls="ls -hCF${_coloroption}${_timeoption}" # export GREP_OPTIONS=""