FS#8481 - [bash-completion] bash_completion.d/archlinux addition
Attached to Project:
Arch Linux
Opened by Alessio Bolognino (mOLOk) - Thursday, 01 November 2007, 23:23 GMT
Last edited by Paul Mattal (paul) - Monday, 04 January 2010, 02:58 GMT
Opened by Alessio Bolognino (mOLOk) - Thursday, 01 November 2007, 23:23 GMT
Last edited by Paul Mattal (paul) - Monday, 04 January 2010, 02:58 GMT
|
Details
I extended support for operation on services:
now with $> service [TAB] 915resolution foldingathome lircmd privoxy acpid gdm mdadm rsyncd [...] you get the list of the services, and with $> service networkmanager [TAB] restart sleep start stop wake you get the operation you can do on that service to make this fully functional there should be a function like: service() { /etc/rc.d/$1 $2 } or service() { /usr/bin/sudo /etc/rc.d/$1 $2 } defined somewhere, but I'm not sure we want this in "bash_completion". |
This task depends upon
Closed by Paul Mattal (paul)
Monday, 04 January 2010, 02:58 GMT
Reason for closing: Won't fix
Additional comments about closing: The dependent FS#8491
was closed by Aaron as won't fix.
Monday, 04 January 2010, 02:58 GMT
Reason for closing: Won't fix
Additional comments about closing: The dependent
FS#8491.complete -F _service $(for i in /etc/rc.d/*; do echo $i}; done)
at the end of the archlinux-service file.