There is no bash-completion for the commands in upstart

Bug #672067 reported by Jan Claeys
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
upstart
Fix Released
Wishlist
James Hunt
upstart (Ubuntu)
Fix Released
Wishlist
James Hunt

Bug Description

Binary package hint: upstart

Currently there is no "bash-completion" (tab-completion for commands in bash) for the commands provided in the upstart package ('initctl', 'start', 'stop', 'status', etc.).

Thanks to "mark" at http://askubuntu.com/questions/10808/auto-complete-for-startable-stopable-services to bring this to our attention.

PS: maybe completion support for other shells is also desirable.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi Jan, thanks for taking the time to file this report!

Indeed, neither upstart nor the bash-completion package provide this functionality, though it would be extremely helpful.

Marking Confirmed, setting Importance to Wishlist.

Changed in upstart (Ubuntu):
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
James Hunt (jamesodhunt) wrote :

Hi Jan,

I have written a bash-completion script which I hope to get packaged soon. The script is attached if you wish to try it.

To use, save the file as $HOME/.bash_completion

James Hunt (jamesodhunt)
Changed in upstart (Ubuntu):
assignee: nobody → James Hunt (jamesodhunt)
status: Confirmed → In Progress
James Hunt (jamesodhunt)
Changed in upstart (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
James Hunt (jamesodhunt) wrote :

This is in the trunk and should be available in upstart-0.6.8 (natty).

Changed in upstart (Ubuntu):
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Changed in upstart:
status: New → Fix Released
importance: Undecided → Wishlist
assignee: nobody → James Hunt (jamesodhunt)
Revision history for this message
Juan Simón (simonbcn) wrote :

In reply to #2 (James Hunt)

I test that script on Ubuntu 10.04 but "have: command not found"
In what package is this command?

Revision history for this message
Brian Murray (brian-murray) wrote :

Setting to Fix Released:

upstart (0.9.1-1ubuntu2) natty; urgency=low

  * debian/control: Added Suggests for python, graphviz and
    bash-completion.
  * debian/rules: Invoke bash-completion add-on explicitly.
  * debian/manpages/upstart-events.7: New man page.
  * debian/upstart.bash-completion: Install bash completion.
  * debian/upstart.manpages: Install upstart-events.7.

 -- James Hunt <email address hidden> Fri, 04 Mar 2011 17:16:26 +0000

Changed in upstart (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.