Alias for git grep

This commit is contained in:
Christoph Bachhuber 2020-08-10 12:20:32 +02:00
commit 79206bc072
2 changed files with 3 additions and 0 deletions

View file

@ -133,6 +133,8 @@ function ggl() {
}
compdef _git ggl=git-checkout
alias ggn='git grep -n'
function ggp() {
if [[ "$#" != 0 ]] && [[ "$#" != 1 ]]; then
git push origin "${*}"