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
-
Is there any way to use dynamic completion (
complete -D -F ...
) in.bash_completion
or.bashrc
whilst simultaneously maintaining auto-loading of completion scripts from the.local/share/bash-completion/completions
dir? 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_completion
breaks the regular functionality.Beta Was this translation helpful? Give feedback.
All reactions