#20553 closed enhancement (fixed)
bash-completion: completion for launchctl(1)
Reported by: | mklein-de (Michael Klein) | Owned by: | raimue (Rainer Müller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | bash-completion |
Description
Attached is a completion function for the launchctl(1) command, could this be included in the port? TIA
Michael
Attachments (1)
Change History (8)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to raimue@… |
---|
comment:2 follow-up: 3 Changed 15 years ago by tobypeterson
comment:3 follow-up: 4 Changed 15 years ago by mklein-de (Michael Klein)
Replying to toby@…:
A few of the commands are obsolete/nonexistent... stdout/stderr/reloadttys, maybe others.
they are from 10.4's launchctl. Were they removed in 10.5?
comment:4 Changed 15 years ago by raimue (Rainer Müller)
Status: | new → assigned |
---|
Replying to michael.klein@…:
Replying to toby@…:
A few of the commands are obsolete/nonexistent... stdout/stderr/reloadttys, maybe others.
they are from 10.4's launchctl. Were they removed in 10.5?
On Snow Leopard:
$ launchctl stdout launchctl stdout: This sub-command no longer does anything
Changed 15 years ago by mklein-de (Michael Klein)
comment:5 Changed 15 years ago by mklein-de (Michael Klein)
Here's a reworked version which supports 10,4, 10.5 and 10.6.
I don't have Snow Leopard here so the last one has not been tested on the Real Thing. Specifically, if the output from "launchctl list" has changed in 10.6, the completion for start/stop/remove might be non-functional.
comment:6 follow-up: 7 Changed 15 years ago by raimue (Rainer Müller)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed in r58359/r58360.
Probably would make sense to submit this upstream as well. Do you want to do that yourself or should I do it?
comment:7 Changed 15 years ago by mklein-de (Michael Klein)
Replying to raimue@…:
Committed in r58359/r58360.
Thanks.
Probably would make sense to submit this upstream as well. Do you want to do that yourself or should I do it?
done: https://alioth.debian.org/tracker/index.php?func=detail&aid=311984&group_id=100114&atid=413095
A few of the commands are obsolete/nonexistent... stdout/stderr/reloadttys, maybe others.