ripgrep auto paging in interactive shells
This commit is contained in:
parent
c76af1e797
commit
51ebd7a4e3
1 changed files with 4 additions and 0 deletions
4
.zshrc
4
.zshrc
|
@ -108,6 +108,10 @@ alias v=vgrep
|
||||||
alias ve='env EDITOR= vgrep -s'
|
alias ve='env EDITOR= vgrep -s'
|
||||||
alias xc=clip
|
alias xc=clip
|
||||||
|
|
||||||
|
# ripgrep "auto paging"
|
||||||
|
rg() {
|
||||||
|
/usr/bin/rg -p "$@" | bat
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
## Prompt
|
## Prompt
|
||||||
|
|
Loading…
Reference in a new issue