From 183f6b06d09fa3ed143a098f2fc5f7b6c17af7ef Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 26 Feb 2001 15:05:37 +0000 Subject: some small functions for completing sub-commands (generic function, init scripts, apachectl) (13536) --- Completion/User/_apachectl | 3 +++ Completion/User/_init_d | 5 +++++ 2 files changed, 8 insertions(+) create mode 100755 Completion/User/_apachectl create mode 100755 Completion/User/_init_d (limited to 'Completion/User') diff --git a/Completion/User/_apachectl b/Completion/User/_apachectl new file mode 100755 index 000000000..6516b1f84 --- /dev/null +++ b/Completion/User/_apachectl @@ -0,0 +1,3 @@ +#compdef apachectl + +_sub_commands start startssl stop restart fullstatus status graceful configtest help diff --git a/Completion/User/_init_d b/Completion/User/_init_d new file mode 100755 index 000000000..134b91cc5 --- /dev/null +++ b/Completion/User/_init_d @@ -0,0 +1,5 @@ +#compdef -P */(init|rc[0-9]#).d/* + +# This should probably be system specific... + +_sub_commands start stop -- cgit 1.4.1