* Problems with installed bash completions were found:
* drush: does not define any completions (failed to source?).
* For more details on installing bash-completions, please see:
And this is because the file does:
# Ensure drush is available.
which drush > /dev/null || alias drush &> /dev/null || return
In the ol' times you were supposed to use 'have()' function instead of relying on sys-apps/which. Nowadays you are not supposed to do any magic like this, and just assume it is available.
# Register our completion function. We include common short aliases for Drush.
complete -o bashdefault -o default -o nospace -F _drush_completion d dr drush drush5 drush6 drush6 drush.php
We aren't really supposed to enable completions for commands we don't install.
Created attachment 387170 [details]
How's this look? I tested with bash-completion-2.1 and I guess it works, but I don't use bash-completion.
Created attachment 387172 [details, diff]
Thanks, it seems to solve all the listed issues. Please commit.
I added myself as maintainer, too, so I can stable this in a month and get rid of the old versions.
*drush-6.4.0 (24 Oct 2014)
24 Oct 2014; Michael Orlitzky <firstname.lastname@example.org> +drush-6.4.0.ebuild,
Version bump to fix bug #526222, take over as maintainer.