summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVon Random <von@vdrandom.org>2023-02-06 18:04:03 +0200
committerVon Random <von@vdrandom.org>2023-02-06 18:04:03 +0200
commit2be9bbfad60f1821ee6b85bbdd5acfb5818c6ea9 (patch)
treeac09f1c2b2eae540e3d4ef9f04cd1b7c835176af
parented8d24930036165e6f8bafce7fd8d04047220198 (diff)
zsh: fix grep function
-rw-r--r--cli/.config/zsh/functions.zsh2
1 files changed, 1 insertions, 1 deletions
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 $@ }