Browse Source

update ls alias

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

+ 3
- 3
bashrc View File

@@ -70,10 +70,10 @@ echo
################################### ###################################
# some aliases and functions # 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="" # export GREP_OPTIONS=""
alias grep="grep -n${_coloroption}" alias grep="grep -n${_coloroption}"
# alias ll="ls -l" # alias ll="ls -l"


Loading…
Cancel
Save