12 lines
No EOL
349 B
Text
Executable file
12 lines
No EOL
349 B
Text
Executable file
# search & copy
|
|
# password amazon
|
|
# password -l artur@gurgul.org
|
|
|
|
# password -a artur@gurgul.org http://example.com/login
|
|
|
|
|
|
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" |