Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3551 closed (invalid)

Django scripts should have associated bash complete entries

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

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 Changed 8 years ago by Rob Hudson <treborhudson@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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 Changed 8 years ago by Noah Slater <nslater@…>

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