瀏覽代碼

fixes for windows

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

+ 2
- 3
bashrc 查看文件

@@ -266,7 +266,6 @@ if iscygwin; then
null type windate || \
alias windate="/c/Windows/System32/cmd.exe //c 'echo %DATE%-%TIME%'"
alias cygsu="cygstart /cygwinsetup.exe"
alias emacs="CYGWIN=tty emacs -nw"
alias ls="ls -CFG $(iswindows || test "$TERM" = dumb || echo --color=auto)"
fi

@@ -318,10 +317,10 @@ s(){
if git rev-parse --git-dir >/dev/null 2>&1
then
git grep -n "$@"
elif which ag >/dev/null
elif which ag >/dev/null 2>&1
then
ag --pager="$PAGER" "$@"
elif which ack >/dev/null
elif which ack >/dev/null 2>&1
then
ack --pager="$PAGER" "$@"
else


Loading…
取消
儲存