From 7f586fabe895ca832742b626b5c0549ec8c3ed77 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 1 Jun 2012 12:52:29 +0900 Subject: [PATCH] update ls alias --- bashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bashrc b/bashrc index 4a01951..421570c 100755 --- a/bashrc +++ b/bashrc @@ -70,10 +70,10 @@ echo ################################### # some aliases and functions -iswindows || test "$TERM" == dumb || _coloroption=" --color=always" +test "$TERM" == dumb || _coloroption=" --color=always" -alias ls="ls -hCF --time-style=long-iso${_coloroption}" -iswindows && alias ls="ls -hCF" +alias ls="ls -hCF${_coloroption}" +iswindows || alias ls="ls --time-style=long-iso" # export GREP_OPTIONS="" alias grep="grep -n${_coloroption}" # alias ll="ls -l"