diff --git a/.zshrc b/.zshrc index de793b3..d32a335 100644 --- a/.zshrc +++ b/.zshrc @@ -169,8 +169,10 @@ __alias__() { # ─< check for rg >───────────────────────────────────────────────────────────────────────── if command_exists rg; then alias grep="rg --color=always" + alias hl="rg --passthrough" else alias grep="grep --color=always" + alias hl="grep --passthrough" fi # ─< define copy command >────────────────────────────────────────────────────────────────