More intuitive alias name, add case insensitive search

This commit is contained in:
Christoph Bachhuber 2020-09-04 08:52:06 +02:00
commit fe9ec0e4a9
2 changed files with 4 additions and 2 deletions

View file

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