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