Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#3551 closed (invalid)

Django scripts should have associated bash complete entries

Reported by: Noah Slater <nslater@…> Owned by: Jacob
Component: Uncategorized Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Bash has powerful auto-complete functionality that can be taken advantage of to offer smart completion of command line options/arguments. It would be great if the Django scripts came bundled with entries to add to your /etc/bash_completion or ~/.bashrc file.

While this might not be very useful for the power user, downstream packages could integrate this with the system bash_completion file automatically for you.

Change History (2)

comment:1 by Rob Hudson <treborhudson@…>, 18 years ago

Resolution: invalid
Status: newclosed

It already has it, just look in the extras/ folder.

I dropped this in my .bash_profile:
. ~/sandbox/django_trunk/extras/django_bash_completion

Now when I do ./manage.py [tab][tab] it shows me all available options. Woot!

comment:2 by Noah Slater <nslater@…>, 18 years ago

Thank you for your feed back. I have reported this as a bug in the downstream Ubuntu package.

https://launchpad.net/ubuntu/+source/python-django/+bug/87107

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