add search method

This commit is contained in:
David Todd 2019-10-16 11:45:20 -05:00
parent 7db8ce7574
commit 30d387b5f2

View File

@ -61,3 +61,7 @@ up() {
fi
cd $d
}
# Usage: search <regex string>
search () {
grep -r "$1" | fzf
}