rwx/sh/alias/grep.sh
Marc Beninca 020aaa0b9a
All checks were successful
/ job (push) Successful in 1m12s
refactor(history): commit development branch
new development branch from root commit
2025-02-10 21:54:51 +01:00

9 lines
155 B
Bash

# grep from current directory with regex
g() { a__grep "${@}"; }
a__grep() {
grep \
--directories "recurse" \
--line-number \
--regexp \
"${@}"
}