[pass] fzf 4 pass
pc re
pcre at gmx.de
Fri Oct 2 19:17:59 CEST 2015
Am 02.10.2015 um 12:00 schrieb password-store-request at lists.zx2c4.com:
> Send Password-Store mailing list submissions to
> password-store at lists.zx2c4.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.zx2c4.com/mailman/listinfo/password-store
> or, via email, send a message with subject or body 'help' to
> password-store-request at lists.zx2c4.com
>
> You can reach the person managing the list at
> password-store-owner at lists.zx2c4.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Password-Store digest..."
>
>
> Today's Topics:
>
> 1. Re: fzf for pass (pc re)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 01 Oct 2015 14:10:23 +0200
> From: pc re <pcre at gmx.de>
> To: Matthias Beyer <mail at beyermatthias.de>
> Cc: password-store at lists.zx2c4.com
> Subject: Re: [pass] fzf for pass
> Message-ID: <560D22AF.5070705 at gmx.de>
> Content-Type: text/plain; charset=windows-1252
>
>
>
> Am 01.10.2015 um 10:36 schrieb Matthias Beyer:
>> On 30-09-2015 13:57:25, pc re wrote:
>>> I have forked fzf. And added password-store to completion.bash
>>>
>>> Please clone :
>>>
>>> https://github.com/d4ndo/fzf.git
>>>
>>> and test it.
>>>
>>> completion.zsh will follow.
>>>
>>> P.S.: I'm using (find "$pwdir" -name "*.gpg" -printf "%P") to get rid of
>>> the $HOME directory. But only GNU "find" supports printf. Does anybody
>>> have a better idea.?
>>>
>> What is "$pwdir"? Do you mean "$PWD" ?
>>
>> alternatives to -printf ... I'm not sure, can you build the behaviour
>> with sed?
>>
>>
> Have a look at
> https://github.com/d4ndo/fzf/blob/master/shell/completion.bash
>
> The function :
>
> _fzf_pass_completion()
>
> #if PASSWORD_STORE_DIR is not set use ~/.password-store/
> local pwdir=${PASSWORD_STORE_DIR-~/.password-store/}
>
>
> Maybe you have a better idea to get rid of the prefix.
> It should run with BSD commands. No "-r" option with sed and no "printf"
> option with find.
>
> Execute with pass **<TAB>
>
> I dont have any BSD unix available at the moment. So i can not test it.
>
> See also the pull request:
>
> https://github.com/junegunn/fzf/pull/362
>
>
>
It did not make it to the master branch.
You still can use my fork though:
https://github.com/d4ndo/fzf
Sorry.
More information about the Password-Store
mailing list