[patch] Support alternate actions in passmenu

Johannes Wienke languitar at semipol.de
Fri Jun 8 20:14:41 CEST 2018


On 06/08/2018 05:47 PM, Paul wrote:
> I've integrated passmenu into my workflow heavily, but a shortcoming I
> keep running into is that it doesn't support any extensions.  So I've
> written a patch which supports them by specifying an `--action`.  I use
> it now with `passmenu --action otp --type` to get my 2FA codes easily.
> 
> Of note: $action is deliberately unquoted so that the action is split on
> spaces. This way `passmenu --action 'otp show'` will expand when `pass`
> is run to `pass otp show ...`.

That looks pretty cool. I could use that to auto-type the username from
the second line of a password entry.

Cheers,
Johannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20180608/e0cdb5cd/attachment.asc>


More information about the Password-Store mailing list