diff --git a/.zshenv b/.zshenv index 22b88c6..f121b5d 100644 --- a/.zshenv +++ b/.zshenv @@ -15,7 +15,7 @@ alias chgrp='chgrp --preserve-root' alias pgrep='pgrep -a' alias less='less -r' alias grep='grep --color=always -n' -alias rg='rg -n' +alias rg='rg_bat() {rg -n -p $@ | bat};rg_bat' alias diff='diff --color=always' alias mkdir='mkdir -p -v' alias ping='ping -c 10'