From fda81e915f6b15a2ba55d4c6c06aeac846edb763 Mon Sep 17 00:00:00 2001 From: pika Date: Fri, 21 Mar 2025 20:04:20 +0100 Subject: [PATCH] addet highlight alias --- .zshrc | 2 ++ 1 file changed, 2 insertions(+) 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 >────────────────────────────────────────────────────────────────