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

Raphaël Droz raphael.droz at gmail.com
Thu Feb 7 20:51:25 UTC 2013


On Wed, Feb 06, 2013 at 05:50:08PM +0100, CircleCode wrote:
[...]
> Is there a way to detect that a git completion is enabled before invoking
> it?

$ complete -p git && echo "git completion is enabled"
# or did I missed something ?




More information about the Bash-completion-devel mailing list