Browse Source

ls of darwin dont accept --color and --time-style option

pull/1/head
10sr 12 years ago
parent
commit
e184e5ba3d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bashrc

+ 2
- 2
bashrc View File

@@ -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=""


Loading…
Cancel
Save