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 \