mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 17:28:01 +00:00
Add git-grep aliases
This commit is contained in:
parent
003ca8365b
commit
7b453c1073
@ -49,6 +49,14 @@ alias gfc='git clone'
|
|||||||
alias gfm='git pull'
|
alias gfm='git pull'
|
||||||
alias gfr='git pull --rebase'
|
alias gfr='git pull --rebase'
|
||||||
|
|
||||||
|
# Grep (g)
|
||||||
|
alias gg='git grep'
|
||||||
|
alias ggi='git grep --ignore-case'
|
||||||
|
alias ggl='git grep --files-with-matches'
|
||||||
|
alias ggL='git grep --files-without-matches'
|
||||||
|
alias ggv='git grep --invert-match'
|
||||||
|
alias ggw='git grep --word-regexp'
|
||||||
|
|
||||||
# Index (i)
|
# Index (i)
|
||||||
alias gia='git add'
|
alias gia='git add'
|
||||||
alias giA='git add --patch'
|
alias giA='git add --patch'
|
||||||
@ -154,5 +162,4 @@ alias gwc='git clean -n'
|
|||||||
alias gwC='git clean -f'
|
alias gwC='git clean -f'
|
||||||
alias gwx='git rm -r'
|
alias gwx='git rm -r'
|
||||||
alias gwX='git rm -rf'
|
alias gwX='git rm -rf'
|
||||||
alias gwg='git grep'
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user