django_bash_completion rev 4646 errors on OS X
|Reported by:||anonymous||Owned by:||jacob|
|Severity:||Keywords:||django_bash_completion OS X|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
OS X has a whereis command, but it does not support the -b flag. Because of this, the following error occurs when sourcing it:
whereis: illegal option -- b usage: whereis program [...] complete: usage: complete [-abcdefgjksuv] [-pr] [-o option] [-A action] [-G globpat] [-W wordlist] [-P prefix] [-S suffix] [-X filterpat] [-F function] [-C command] [name ...]
I'm attaching a patch that solves this issue.