]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Enhanced secret finder on find action
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 23 Feb 2014 14:39:02 +0000 (11:39 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 23 Feb 2014 14:39:02 +0000 (11:39 -0300)
ChangeLog
lib/keyringer/actions/find

index d5c74cf134db0c499e4351e0f5b43460c1432bd9..cef7a8359ae71bfe7286708b409303c9526b418d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
 2014-02-23 - Silvio Rhatto  <rhatto@riseup.net>
 
-       Enhanced secret finder at keyringer_get_file
+       Enhanced secret finder at keyringer_get_file and on find action
 
        Added find action into shell completions
 
index 21afc7a7096f392297c2f71d45f1ec8a1d12cbd5..9b18d66891ab7190054dda76ee6925b10eb30bb8 100755 (executable)
@@ -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"