tadfisher / pass-otp

A pass extension for managing one-time-password (OTP) tokens
GNU General Public License v3.0
1.3k stars 86 forks source link

Install the bash completion files on the /usr location #152

Open somini opened 2 years ago

somini commented 2 years ago

The default bash completion folder should not be the /etc folder, it should be the system-level folder.

$ pkg-config bash-completion --variable=completionsdir
/usr/share/bash-completion/completions
BASHCOMPDIR ?= /usr/share/bash-completion/completions
bmariuszb commented 1 year ago

Does bash completion work for pass otp? It's not working for me, I haven't learned how completion works yet. I can tell for now that bash completion is only for pass not for pass otp.

somini commented 1 year ago

Works for me, have you installed the bash-completion package?

This issue is for tracking the location of the autocompletion file.

bmariuszb commented 1 year ago

Ok, I just realized that pass otp add works, but doesn't have a completion