rg config
This commit is contained in:
parent
51ebd7a4e3
commit
23e867f546
3 changed files with 14 additions and 9 deletions
10
.config/rg/rg.conf
Normal file
10
.config/rg/rg.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
--glob=!/.git/
|
||||
--glob=!/.terraform/
|
||||
--pretty
|
||||
--colors=column:fg:100,181,246
|
||||
--colors=line:fg:100,181,246
|
||||
--colors=path:fg:26,35,126
|
||||
--colors=path:style:bold
|
||||
--colors=match:style:nobold
|
||||
--colors=match:bg:255,235,59
|
||||
--colors=match:fg:0,0,0
|
|
@ -1,8 +0,0 @@
|
|||
--glob=!/vendor/
|
||||
--glob=!/.git/
|
||||
--glob=!/.terraform/
|
||||
--pretty
|
||||
--colors=path:fg:100,150,210
|
||||
--colors=match:style:nobold
|
||||
--colors=match:bg:180,150,40
|
||||
--colors=match:fg:0,0,0
|
5
.zshrc
5
.zshrc
|
@ -108,7 +108,10 @@ alias v=vgrep
|
|||
alias ve='env EDITOR= vgrep -s'
|
||||
alias xc=clip
|
||||
|
||||
# ripgrep "auto paging"
|
||||
## ripgrep
|
||||
export RIPGREP_CONFIG_PATH=${HOME}/.config/rg/rg.conf
|
||||
|
||||
# "auto paging"
|
||||
rg() {
|
||||
/usr/bin/rg -p "$@" | bat
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue