#1143552 pass-otp: bash-completion/completions/pass-otp doesn't work

#1143552#5
Date:
2026-08-04 05:45:09 UTC
From:
To:
Dear Maintainer,

I'm surprised that I seem to be the only one with this problem. I have pass and
pass-otp installed. bash-completion works perfectly for the former but not the
latter. I believe this is because when I type `pass otp <tab>` bash goes
looking for the completion in .../bash-completion/completions/pass instead of
bash-completion/completions/pass-otp.

Apparently the way to solve this, as endorsed in .../doc/pass-otp/README.md.gz,
is either to change the pass completion file so that it loads pass-otp, or
symlink with `sudo ln -s /usr/share/bash-completion/completions/pass-otp
/etc/bash_completion.d/pass-otp`.

Can one of these solutions be published to the package so that it works better
out of the box?