]> Sergey Matveev's repositories - dotfiles.git/blobdiff - zsh/.zsh/rc/010git.zsh
Gb -r alias
[dotfiles.git] / zsh / .zsh / rc / 010git.zsh
index 70e5167a6bebe335fac8e6828f11ed41de782668..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"
@@ -8,5 +9,12 @@ alias Gm="git diff --name-only --diff-filter=M --relative"
 alias Gam="git commit --amend"
 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