Opened 18 years ago

Closed 18 years ago

#3641 closed (duplicate)

django_bash_completion rev 4646 errors on OS X

Reported by: anonymous Owned by: Jacob
Component: Tools Version: dev
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: no UI/UX: no

Description

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.

Thanks!

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

by roberto.c.aguilar _at_ gmail _dot_ com, 18 years ago

Attachment: django_bash_completion.diff added

patch to fix whereis error on OS X

comment:1 by Simon G. <dev@…>, 18 years ago

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