瀏覽代碼

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

pull/1/head
10sr 12 年之前
父節點
當前提交
6bd83f85c6
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      bashrc

+ 2
- 2
bashrc 查看文件

@@ -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…
取消
儲存