Browse Source

do not use ls --hide option it makes ls not show Makefile

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

+ 2
- 2
bashrc View File

@@ -92,9 +92,9 @@ echo

( ! with_coreutils && isdarwin ) || test "$TERM" == dumb || _coloroption=" --color=auto"
( ! with_coreutils && isdarwin ) || iswindows || _timeoption=" --time-style=long-iso"
( ! with_coreutils && isdarwin ) || _hideoption=" --hide=[A-Z]*"
( ! with_coreutils && isdarwin ) || _hideoption=" --hide=[A-Z]*" # do not use

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


Loading…
Cancel
Save