From 5e0240a9d4feea04ae303994838f6141b58ee7ff Mon Sep 17 00:00:00 2001 From: Gardouille Date: Thu, 27 Jun 2019 11:34:01 +0200 Subject: [PATCH] Add a git grep alias --- zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zshrc b/zshrc index 1bb4673..18e4140 100644 --- a/zshrc +++ b/zshrc @@ -190,6 +190,7 @@ alias ggamend='git commit --amend' ### Update remote repository alias ggpush='git push' ### Print lines matching a pattern +alias ggrep='git grep --color -n -P' alias gggrep='git grep --color -n -P' ### Show commit logs alias gglog="git log --graph --full-history --all --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'"