From: Silvio Rhatto Date: Sun, 23 Feb 2014 14:39:02 +0000 (-0300) Subject: Enhanced secret finder on find action X-Git-Tag: 0.3.1~22 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=43b9567ce09c7c9161b096d9cddac68ec659fa45;p=keyringer.git Enhanced secret finder on find action --- diff --git a/ChangeLog b/ChangeLog index d5c74cf..cef7a83 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,6 @@ 2014-02-23 - Silvio Rhatto - Enhanced secret finder at keyringer_get_file + Enhanced secret finder at keyringer_get_file and on find action Added find action into shell completions 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"