Commit 72b3553f authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Add search() shell function

parent 93ba070f
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -42,4 +42,16 @@ alias ipyhton3=ipython3

. ~/.shell/lib/virtualenv.bash


## Functions for users
## ===================

search(){
	local IFS=\|
	~/.shell/bin/grep-auto-exclude grep \
		--exclude-dir=.venv\* \
		--exclude-dir=.mypy_cache \
		--color=auto -nrEI "$*" .
}

# vim: ft=sh