From 441c42896b09b0b8d7c8a75b740e5749cf0bb485 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 18 Nov 2024 18:29:57 +0100 Subject: [PATCH] grep --- sh/alias/grep.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sh/alias/grep.sh b/sh/alias/grep.sh index ab8e396..e4fe62f 100644 --- a/sh/alias/grep.sh +++ b/sh/alias/grep.sh @@ -1,5 +1,6 @@ # grep from current directory with regex -g() { +g() { sh_a__grep "${@}"; } +sh_a__grep() { grep \ --directories "recurse" \ --line-number \