Opened 11 years ago

Closed 11 years ago

#3641 closed (duplicate)

django_bash_completion rev 4646 errors on OS X

Reported by: anonymous Owned by: Jacob
Component: Tools Version: master
Severity: Keywords: django_bash_completion OS X
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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.


Attachments (1)

django_bash_completion.diff (769 bytes) - added by roberto.c.aguilar _at_ gmail _dot_ com 11 years ago.
patch to fix whereis error on OS X

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by roberto.c.aguilar _at_ gmail _dot_ com

Attachment: django_bash_completion.diff added

patch to fix whereis error on OS X

comment:1 Changed 11 years ago by Simon G. <dev@…>

Component: UncategorizedTools
Resolution: duplicate
Status: newclosed

Hi Roberto, this should be already fixed in [4677]

Note: See TracTickets for help on using tickets.
Back to Top