[pass] [PATCH] Added functionality to retrieve username from a password file and copy to clipboard.
milki
milki at rescomp.berkeley.edu
Sat Dec 22 20:54:44 CET 2012
On 15:58 Fri 12 Oct , rephorm wrote:
> On Oct 12, 2012, at 12:21 PM, ged at qube.io wrote:
> .
> > A typical workflow for me would be to copy the username to clipboard,
> > switch to the application requiring the username and paste, switch back
> > to terminal and copy the password to clipboard and then paste into the
> > application.
>
> I use pass file names of the form website.com/username. Tab completion on the website name gets me the username, which I then just type in (after pasting the password). This seems quicker than switching back to the term and adding a username flag.
>
> Unless you (for some reason) use non-pronounceable usernames, I don't see the need for it to be on the clipboard.
>
> Brian
I tried taking a look at this from another perspective. Here [0], I've
adding a feature to xclip to take in a delimited input file and split it
into multiple selections.
In your case, you would be a multi-line file deliminted by newlines.
xclip would take the entire file and split it into consecutive pastes.
If your file was, for example:
username
password
The first paste would contain username. The second paste would contain
password.
What do you think of that?
-milki
[0]
https://github.com/milki/xclip/commit/aac0f5fcca02323e47d150c73c8c8cd64bb46570
More information about the Password-Store
mailing list