From bf52a151ff07d710cd9770050600232c8942d1a9 Mon Sep 17 00:00:00 2001 From: Artur Gurgul Date: Thu, 14 Aug 2025 14:55:49 +0200 Subject: [PATCH] search for password --- bin/password | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 bin/password diff --git a/bin/password b/bin/password new file mode 100755 index 0000000..29c53bd --- /dev/null +++ b/bin/password @@ -0,0 +1,5 @@ +set -euo pipefail +login="${DEFAULT_INTERNET_LOGIN:-${1-}}" +file="$(find web -type f -path "web/*/$DEFAULT_INTERNET_LOGIN.gpg" -print | fzf --delimiter='/' --with-nth=2)" +password_entry="${file%.gpg}" +pass -c "$password_entry" \ No newline at end of file