[feature suggestion] copy one line, print the rest

jman password-store at storiepvtride.it
Fri Jan 8 00:16:00 UTC 2021


Marian Sigler writes:

> It would often be handy for me if there was an option to copy the first
> line to the clipboard and print all other lines.
> I'd suggest the option `-C` for this, with similar syntax as `-c`; I'd
> also propose the same for QR codes (`-Q`).

Hi,

I think you can achieve this with a short script, something along this idea:

$ cat pass.sh
#!/bin/sh
pass -c $1
pass $1 | tail -n +2

$ pass.sh <mysecret>

(you lose the ability though to have pass autocomplete the entries: a
bit more logic is needed for that)

cheers,


More information about the Password-Store mailing list