5 ms·
For myself I usually use this function below that is useful if you do a lot of code grep. function g! { grep -nr --exclude=.git --exclude=.hg --exclude=.sv
by caioariede 14y ago
For myself I usually use this function below that is useful if you do a lot of code grep.
function g! { grep -nr --exclude=.git --exclude=.hg --exclude=.svn --include="*.$1" "$2" ${3-"."} --colour; }
And then:
g! py "some python code"
https://coderwall.com/p/uhzc0a https://coderwall.com/p/uhzc0a