bash: add git grep fzf script
This commit is contained in:
@@ -12,6 +12,7 @@ alias rm='rm -i'
|
||||
|
||||
### Git fun
|
||||
alias gbl='git show $(git ls-files | fzf -e --reverse --bind "enter:become(git blame {1} | fzf -e --ansi --reverse | cut -f 1 -d \" \")")'
|
||||
alias gg=': | fzf --reverse --bind "change:reload(git grep {q})" --bind "enter:become($EDITOR {1} +{2})" --delimiter :'
|
||||
|
||||
### Abbreviations
|
||||
alias dcr='dc down && dc up -d && dc logs -f'
|
||||
|
||||
Reference in New Issue
Block a user