瀏覽代碼

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"


Loading…
取消
儲存