search for password
This commit is contained in:
parent
f8d67e621b
commit
bf52a151ff
1 changed files with 5 additions and 0 deletions
5
bin/password
Executable file
5
bin/password
Executable file
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue