Browse Source

add ls alias for darwin ls

pull/1/head
10sr 11 years ago
parent
commit
8a7a83091c
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      bashrc

+ 5
- 0
bashrc View File

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


Loading…
Cancel
Save