Przeglądaj źródła

update g command

pull/1/head
10sr 11 lat temu
rodzic
commit
6c98c6efb7
1 zmienionych plików z 8 dodań i 1 usunięć
  1. +8
    -1
      bashrc

+ 8
- 1
bashrc Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz