[cmake-developers] fix for older bash-completion
Brad King
brad.king at kitware.com
Wed Apr 22 09:05:04 EDT 2015
On 04/22/2015 08:23 AM, Gaetan Lehmann wrote:
> Here is a patch for older bash-completion, like the default
> one used in homebrew.
Thanks. Rather than skipping _init_completion altogether, please
use it conditionally with something like
if t=$(type -t _init_completion); then
_init_completion
else
# manual initialization for older bash completion versions
fi
This way it can do the initialization steps known for older
versions but still do everything that newer versions want.
Thanks,
-Brad
More information about the cmake-developers
mailing list