-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bash completion #137
Comments
Not quite as technical as hoxu, but I think we're having the same issue (me on Ubuntu 20.04). In layman's terms; But with pass otp no such Tab completion is present. Adding Tab completion to pass otp would make it much quicker and more usable, well, just as quick and usable as pass. |
I second this. Although, upon installing through Gentoo's portage system, this error message shows up:
It installs version 1.2.0 but my assumption is that something changed with bash-completion between bash releases but I'm not 100% sure on that. |
Source'ing that files also enables completion for me, but I think it should work out of the box, because
Also, the issue here seems to be a duplicate of #28 or vice versa ;-) |
The completion file is supposed to be loaded out of the box but is not: tadfisher/pass-otp#137
I stumbled on this while trying to debug missing completion for __git_complete_command () {
local command="$1"
local completion_func="_git_${command//-/_}"
if ! __git_have_func $completion_func &&
__git_have_func _completion_loader
then
_completion_loader "git-$command"
fi
if __git_have_func $completion_func
then
$completion_func
return 0
elif __git_support_parseopt_helper "$command"
then
__git_complete_common "$command"
return 0
else
return 1
fi
} |
Is bash completion (on Debian) supposed to work out of box?
As far as I understand
/usr/share/bash-completion/bash_completion
should contain magic to load the right completion under/usr/share/bash-completion/completions/
, and this works forpass
, but/usr/share/bash-completion/completions/pass-otp
does not seem to be automatically loaded.source /usr/share/bash-completion/completions/pass-otp
works.Should this work out of box? Or should adding that line to bash profile scripts be documented?
The text was updated successfully, but these errors were encountered: