diff --git a/.zshrc b/.zshrc index 7fd1e0b..33eb8d9 100644 --- a/.zshrc +++ b/.zshrc @@ -108,6 +108,10 @@ alias v=vgrep alias ve='env EDITOR= vgrep -s' alias xc=clip +# ripgrep "auto paging" +rg() { + /usr/bin/rg -p "$@" | bat +} ## Prompt