[PATCH] Extend --clip/--qrcode to support copying/displaying non-password fields
jman
password-store at city17.xyz
Sat May 25 19:44:41 UTC 2024
"Dan Crawford" <dnlcrwfrd at gmail.com> writes:
> This patch extends --clip (and incidentally, --qrcode) to support either copying arbitrary lines
> (with the existing syntax), or copying the value of some field. Given the above passfile,
> --clip="field1" or -c"field1" will add `key1` to the clipboard.
Hi and thanks for this patch, I can finally remove the workaround I use to programmatically get
other fields (.. | head -n).
I have probably a corner case where this patch fails:
supersecretpass
login: mechanik
url: https://www.ecommerce.com
`pass <item> --clip=url` copies only "https:" and not the full URL.
Second question: do you mind reformatting your patch with `git format-patch` so I can cleanly apply
it to my passwordstore.sh and keep credits intact?
Thanks!
More information about the Password-Store
mailing list