From: Sergey Matveev Date: Wed, 26 Oct 2022 10:41:17 +0000 (+0300) Subject: git log --grep alias X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=4c70dcf7391b45bfb8c811c80f1d244fb9ab08ca git log --grep alias --- diff --git a/zsh/.zsh/rc/010git.zsh b/zsh/.zsh/rc/010git.zsh index 3749e22..c26ff58 100644 --- a/zsh/.zsh/rc/010git.zsh +++ b/zsh/.zsh/rc/010git.zsh @@ -10,6 +10,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