瀏覽代碼

update g command

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

+ 8
- 1
bashrc 查看文件

@@ -217,7 +217,14 @@ if iscygwin; then
alias ls="ls -CFG $(iswindows || test "$TERM" = dumb || echo --color=auto)"
fi

alias g=git
g(){
if test $# -eq 0 && null type git-info
then
git info
else
git "$@"
fi
}
if null type _git
then
# enable programmable completion for g


Loading…
取消
儲存