Bash completion with non default store dir

Thomas Hummel googhummel at
Wed Oct 25 21:18:52 CEST 2017


I'm using pass v1.6.5 on Ubuntu 16.04.2 LTS using an alternate (non
default) store directory and an alternate gnupg directory. In order to do
that, I set up 2 environment vars :


I then noticed that bash autocompletion did not work for completing entries.
Reading the completion code seems to point that I missed a trailing /.
As a matter of fact, functions use compgen -f $prefix$cur and indeed


did solve the problem.

I don't know if it's a packaging/distribution issue, an upstream issue or
an issue at all.
It only seemed counter-intuitive to me to have a mandatory trailing / in an
environment variable in such a case.

Thanks for your help and congratulations for the software.

Thomas H.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Password-Store mailing list