[Pull request] Shortcut feature

David A. listmail at cox.net
Mon Mar 27 14:35:49 CEST 2017


On Mon, 27 Mar 2017 08:25:28 +0200, Ondrej Vaško
<ondrej.vaskoo at gmail.com> wrote:

>Nicknames are not easy to implement, because it is hard to work with output
>of *tree* command. Specifically the password files in tree output are only
>last filenames which are not unique and to get the full unique path which
>you can use as a key (path) to value (nick), you must somehow traverse the
>tree backwards, find a nickname for that path and modify tree output to
>show it in *pass ls/find* command.
>
>Yes the other downside is that inode shortcuts will change among computers
>of one person, but anyway I think this could be useful for many users.

I understand your position that it's difficult to go from "pass list"
to "pass show" because of the tree output.  The tree listing is
friendly to the eyes but not so useful for copy/paste selecting.  Your
desire is to make *every* entry shown by "pass list" easily
selectable, not just the ones you chose to give a nickname.

To be honest that's why I almost never use pass list.  I tend to use
the find command so each entry name is fully contained on a line.  The
ability to traverse the data structure outside of the pass command is
one of its greatest strengths.  With that it's easy to copy/paste, or
to add nicknames as Thorsten suggested, or to use a dmenu-like tool
for interactive selection.



More information about the Password-Store mailing list