From 30d387b5f2c0109bf8946b621d02c2b07a02623c Mon Sep 17 00:00:00 2001 From: David Todd Date: Wed, 16 Oct 2019 11:45:20 -0500 Subject: [PATCH] add search method --- shell/functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/functions b/shell/functions index 2f5098d..cf827d4 100644 --- a/shell/functions +++ b/shell/functions @@ -61,3 +61,7 @@ up() { fi cd $d } +# Usage: search +search () { + grep -r "$1" | fzf +}