Browse Source

add timeformat var

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

+ 3
- 0
bashrc View File

@@ -94,6 +94,9 @@ echo
( ! with_coreutils && isdarwin ) || iswindows || _timeoption=" --time-style=long-iso" ( ! with_coreutils && isdarwin ) || iswindows || _timeoption=" --time-style=long-iso"
( ! with_coreutils && isdarwin ) || _hideoption=" --hide=[A-Z]*" # do not use ( ! with_coreutils && isdarwin ) || _hideoption=" --hide=[A-Z]*" # do not use


_timeformat_iso="%Y-%m-%dT%H:%M:%S%z"
_timeformat_rfc2822="%a, %d %b %Y %T %z"

alias ls="ls -hCF${_coloroption}${_timeoption}" alias ls="ls -hCF${_coloroption}${_timeoption}"
# export GREP_OPTIONS="" # export GREP_OPTIONS=""
alias grep="grep -n${_coloroption}" alias grep="grep -n${_coloroption}"


Loading…
Cancel
Save