[pass] Patch for adding a multiclip option

Matthew Cengia mattcen at gmail.com
Fri Feb 14 01:00:31 CET 2014


On 2014-02-13 09:40, Philip Chase wrote:
> I like the --tail option.
> 
> I find myself running  "pass myAccount" to verify the username.  I then run
> "pass -c myAccount", because I don't want to lift my hand to copy the
> password to the scrap.
> 
> Much as I like the unix philosophy of do one thing and do it well, I've
> always seen it as a guide, not a religion.  Would it be so bad to save the
> end user some keystrokes?
> 
> Eschewing conveniences creates obstacles to adoption.  It begs the
> question, "Do we only want a certain type of people to use this software?"

Of course it's not a hard and fast rule; the benefit of the code has to
be weighed with the code quantity to decide whether it's worthwhile. I
haven't seen the code for --tail, but given your above proposed
use-case, and the fact that Jonas stated that is the author's intended
purpose makes me reconsider my stance on this; it does sound like a
commen enough use-case that it would be worth implementing inside pass.

For my part, in the immediate term I'd probably just write a shell
function:

  passt(){ pass -c "$1"; pass "$1" | sed 1d;}

But for every pass user to have to do this is a bit ridiculous when it
could be done within pass.

-- 
Regards,
Matthew Cengia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: Digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20140214/fd680a1f/attachment-0001.asc>


More information about the Password-Store mailing list