diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-02-23 11:39:02 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-02-23 11:39:02 -0300 |
commit | 43b9567ce09c7c9161b096d9cddac68ec659fa45 (patch) | |
tree | 0b4472f9f563041aab9058020be2caf7a4916af7 | |
parent | b160c9b14e035da1dd19df9be1b58c61ceea46ad (diff) | |
download | keyringer-43b9567ce09c7c9161b096d9cddac68ec659fa45.tar.gz keyringer-43b9567ce09c7c9161b096d9cddac68ec659fa45.tar.bz2 |
Enhanced secret finder on find action
-rw-r--r-- | ChangeLog | 2 | ||||
-rwxr-xr-x | lib/keyringer/actions/find | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 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" |