X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=zsh%2F.zsh%2Frc%2F010git.zsh;h=6e3939e938a96afdd6e3bfa29a876afbb14bae82;hb=ba19bcb44eef7ce6024c43d352a9d1f37a1bb4ef;hp=3749e22b6fffbea191835c5d85b9166ead50acb7;hpb=4f692ca8269832e7c7ab7a85b64bc8b247b9d735;p=dotfiles.git diff --git a/zsh/.zsh/rc/010git.zsh b/zsh/.zsh/rc/010git.zsh index 3749e22..6e3939e 100644 --- a/zsh/.zsh/rc/010git.zsh +++ b/zsh/.zsh/rc/010git.zsh @@ -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,6 +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 "OR" " git status --short\n" # F3 export TOG_COLORS=1