浏览代码

add ls alias for darwin ls

pull/1/head
10sr 11 年前
父节点
当前提交
8a7a83091c
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      bashrc

+ 5
- 0
bashrc 查看文件

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


正在加载...
取消
保存