]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zsh/rc/010git.zsh
Gb -r alias
[dotfiles.git] / zsh / .zsh / rc / 010git.zsh
index a3cf59df6eb12c2c21cf392c62a8c3817004f7b6..6e3939e938a96afdd6e3bfa29a876afbb14bae82 100644 (file)
@@ -1,5 +1,6 @@
 alias Ga="git add"
 alias Gb="git branch"
+alias Gbr="git branch --remote"
 alias Gc="git checkout"
 alias Gd="git diff"
 alias Gdc="git diff --cached"
@@ -10,4 +11,10 @@ alias Gl="git log --oneline --graph --decorate=short"
 alias Gld="git log --format=format:'%ai %Cgreen%h%Creset %s'"
 alias Gr="git remote -v"
 
+Gg() {
+    git log -i --grep=$1
+}
+
 bindkey -s "\eOR" " git status --short\n" # F3
+
+export TOG_COLORS=1