[Bash-completion-devel] [SCM] bash-completion branch, master, updated. 1.90-103-gae34153
Ville Skyttä
ville.skytta at iki.fi
Tue Dec 20 20:22:27 UTC 2011
On 2011-12-20 17:53, Igor Murzov wrote:
>> + cc --version 2>/dev/null | grep -q GCC && complete -F _gcc cc || :
>> + c++ --version 2>/dev/null | grep -q GCC && complete -F _gcc c++ || :
>
> What does "|| :" part mean? I can't find an explanation :)
Effectively the same as "|| true", but a more common expression for it.
Just a way to force the compound command to always succeed.
The point is that we want to avoid non-zero return values for optional
things at end up completion files when loading them (see
_completion_loader).
More information about the Bash-completion-devel
mailing list