Bash completion for upstart

Michael Biebl mbiebl at gmail.com
Thu May 3 11:16:51 BST 2007


2007/5/3, Alex Smith <alex at alex-smith.me.uk>:
> Michael Biebl wrote:
> >
> > 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?
>
> Yes, I think that would be good.

Ok, updated script is attached. Though it is rather slow for stop/status.
Somehow, "initctl list" can be quite slow from time to time.

Any ideas how this could be improved are very welcome.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: upstart
Type: application/octet-stream
Size: 1184 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20070503/2a91ac29/attachment.obj 


More information about the upstart-devel mailing list