[Bash-completion-devel] test if completion is enabled before invoking it

CircleCode codronm+circlecode at gmail.com
Wed Feb 6 16:50:08 UTC 2013


Hi,

I'm trying to find if there is a completion enabled say, for example, for
git
so I run
    complete -p | grep git
=> no result

Then I do
    git <tab><tab>
=> it offers me available completions, and after this first attempt,
    complete -p | grep git
gives me some results…

Is there a way to detect that a git completion is enabled before invoking
it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20130206/4356d335/attachment.html>


More information about the Bash-completion-devel mailing list