From 2be9bbfad60f1821ee6b85bbdd5acfb5818c6ea9 Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 6 Feb 2023 18:04:03 +0200 Subject: [PATCH] zsh: fix grep function --- cli/.config/zsh/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/.config/zsh/functions.zsh b/cli/.config/zsh/functions.zsh index b680cc1..c16f627 100644 --- a/cli/.config/zsh/functions.zsh +++ b/cli/.config/zsh/functions.zsh @@ -39,7 +39,7 @@ fixterm() { printf $'c' } diff() { command diff --color $@ } tailf() { command less +F $@ } -grep() { command grep --color=auto } +grep() { command grep --color=auto $@ } rgrep() { grep --exclude-dir=.git -R $@ } s() { termcompat ssh $@ }