commit 0a52567c98333fa2e75270d2cea0efc69f62b0a4
parent 068d5f14279fb3816fbc290108d768e3f6eff603
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date: Thu, 24 Jul 2014 19:35:37 +0200
grep: no trailing slash
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/password-store.sh b/src/password-store.sh
@@ -360,7 +360,7 @@ cmd_grep() {
passfile="${passfile##*/}"
printf "\e[94m%s/\e[1m%s\e[0m:\n" "$passfile_dir" "$passfile"
echo "$grepresults"
- done < <(find -L "$PREFIX/" -iname '*.gpg' -print0)
+ done < <(find -L "$PREFIX" -iname '*.gpg' -print0)
}
cmd_insert() {