Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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)

launchctl (5.5 KB) - added by mklein-de (Michael Klein) 15 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to raimue@…

comment:2 Changed 15 years ago by tobypeterson

A few of the commands are obsolete/nonexistent... stdout/stderr/reloadttys, maybe others.

comment:3 in reply to:  2 ; 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 in reply to:  3 Changed 15 years ago by raimue (Rainer Müller)

Status: newassigned

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)

Attachment: launchctl added

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 Changed 15 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: assignedclosed

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 in reply to:  6 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

Note: See TracTickets for help on using tickets.