Opened 9 years ago

Closed 9 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 9 years ago.
patch to fix whereis error on OS X

Download all attachments as: .zip

Change History (2)

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

patch to fix whereis error on OS X

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

  • Component changed from Uncategorized to Tools
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

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

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