ソースを参照

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


読み込み中…
キャンセル
保存