From 43b9567ce09c7c9161b096d9cddac68ec659fa45 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 23 Feb 2014 11:39:02 -0300 Subject: Enhanced secret finder on find action --- lib/keyringer/actions/find | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/keyringer') diff --git a/lib/keyringer/actions/find b/lib/keyringer/actions/find index 21afc7a..9b18d66 100755 --- a/lib/keyringer/actions/find +++ b/lib/keyringer/actions/find @@ -15,5 +15,5 @@ shift ARGS="`echo "$*" | sed -e "s|^/*||"`" # Run find command -cd "$KEYDIR/$RELATIVE_PATH" && find -iname "*$ARGS*" | sed -e 's|^./||g' +cd "$KEYDIR/$RELATIVE_PATH" && find | grep -i "$ARGS" | sed -e 's|^./||g' cd "$CWD" -- cgit v1.2.3