Add a git grep alias

This commit is contained in:
Jeremy Gardais 2019-06-27 11:34:01 +02:00
parent fc939f8f9a
commit 5e0240a9d4
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 0 deletions

1
zshrc
View File

@ -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'"