[pass] [PATCH] Added functionality to retrieve username from a password file and copy to clipboard.

Brian Mattern rephorm at rephorm.com
Sat Oct 13 00:58:44 CEST 2012


On Sat, 13 Oct 2012, Jason A. Donenfeld wrote:

> Ged --
> 
> Milki & Rephorm are pretty on par with how things roll. I think for
> schema-oriented workflows, you can make a wrapper or an alias around
> pass, but generally, what they're proposing works really well for a
> lot of folks -- give it a try.

I agree that custom wrappers make the most sense for people who want to
extend pass.

I've attached a quick example script that assumes a schema like
"User:username". Modify the line with grep/sed if you want to use a
different schema.

I called the function 'upass' so that if you can simply add/remove the
'u' up front to switch between user and password.

Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: upass.sh
Type: application/x-sh
Size: 518 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20121012/20d74028/attachment.sh>


More information about the Password-Store mailing list