[pass] Imported passmenu
Matthew Cengia
mattcen at gmail.com
Thu Apr 24 16:45:00 CEST 2014
On 2014-04-24 11:10, Jason A. Donenfeld wrote:
> On Thu, Apr 24, 2014 at 4:50 AM, Chris Down <chris at chrisdown.name> wrote:
> >
> > Sure thing, thanks. One thing is that package maintainers need to make
> > sure they install this alongside pass for 1.6, or there will be little
> > point in merging.
> >
>
> Also, some folks check contrib directories manually looking for goodies.
>
> Also, I think the [ $? -eq 0 ] check you added (without mentioning,
> > which is a little odd...) is undesirable. Since this script uses bash,
> > we might as well use `((', even if that does happen. I'm also not
Best way is actually this:
password=$(printf '%s\n' "${password_files[@]}" | dmenu "$@") &&
pass -c "$password"
> > convinced this error check is necessary -- the only normal way that
> > dmenu could return a value != 0 is if dmenu is manually terminated by a
> > signal. In that (extremely rare) case, it doesn't even matter --
> > $password will be empty. Programming for something that both isn't an
> > issue when it happens, and something that happens extraordinarily
> > rarely, is something I would really like to avoid.
>
>
> Thanks. This is something I was playing with myself and didn't actually
> mean to merge it. Anyway, I fixed it to the desired intent: <
> http://git.zx2c4.com/password-store/commit/?id=f7764184104315b620ddb39be691145863e089ab
> >.
--
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/20140425/9e4088d6/attachment.asc>
More information about the Password-Store
mailing list