[pass] Printing full paths with show

Jakub Sokołowski panswiata at gmail.com
Sun Aug 2 13:42:14 CEST 2015


I really love pass and I wanted to extend it by passing it's output to 
fzf(https://github.com/junegunn/fzf) to easilly search through available 
entries. Unfortunately the current output format makes it impossible to 
easilly use it for fzf.

So I propose the following patch to add an -f,--full(same as for tree) 
options to print out the list with full paths.

This way one can easily use pass and fzf in following way:

pass -f | fzf | xargs -I{} pass -- {}

Which in a trivial way gives a fuzzy search ability to pass.

I'm not sure if this approach is the best but I've used it successfully 
for a while now. I think it could be useful to more people.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: show_full_option.patch
Type: text/x-patch
Size: 1782 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20150802/cec3b74f/attachment.bin>

More information about the Password-Store mailing list