Replies: 1 comment 3 replies
-
|
It seems perhaps that _new_completion_loader()
{
# custom logic here, with possible early return
# fall back to bash-completion loader
_completion_loader "$@"
}
complete -D -F _new_completion_loader |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way to use dynamic completion (
complete -D -F ...) in.bash_completionor.bashrcwhilst simultaneously maintaining auto-loading of completion scripts from the.local/share/bash-completion/completionsdir? Trying that now, it seems that bash-completion doesn't do its usual job of using the completion scripts in that standard dir. For example, adding the following code to~/.bash_completionbreaks the regular functionality.Beta Was this translation helpful? Give feedback.
All reactions