From 8a7a83091c1fc4b8e8fa6a57ccaf0fdff8d0b496 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 29 Jan 2013 20:02:25 +0900 Subject: [PATCH] add ls alias for darwin ls --- bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bashrc b/bashrc index 1c2ca77..7ca0a9b 100755 --- a/bashrc +++ b/bashrc @@ -127,6 +127,11 @@ _timeformat_iso="%Y-%m-%dT%H:%M:%S%z" _timeformat_rfc2822="%a, %d %b %Y %T %z" alias ls="ls -hCF${_coloroption}${_timeoption}" +if ! with_coreutils +then + export LSCOLORS=gxfxcxdxbxegedabagacad + alias ls="ls -G" +fi # export GREP_OPTIONS="" alias gr="grep -n --color=always" iswindows && alias grep="grep -n"