addet highlight alias

This commit is contained in:
pika 2025-03-21 20:04:20 +01:00
parent 6e5002d6df
commit fda81e915f

2
.zshrc
View file

@ -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 >────────────────────────────────────────────────────────────────