Hi,

I wrote a tiny bash completion script for start/stop/status.
If you want to try it, copy the attached file into /etc/bash_completion.d/ and
source the file /etc/bash_completion.
You can put this into your ~/.bashrc to do that automatically:

# bash completion
. /etc/bash_completion

After that, start/stop/status <TAB> will list all jobs available in
/etc/event.d/

I could make the start/stop completion more sophisticated, and only
list the running jobs for stop and the stopped jobs for start. Do you
think this would be a good feature?

Cheers,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: upstart
Description: Binary data

-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to