about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-02-26 15:05:37 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-02-26 15:05:37 +0000
commit183f6b06d09fa3ed143a098f2fc5f7b6c17af7ef (patch)
tree5cc0321cfadd91445aaa40fe9709ee15ae127697 /Completion/User
parent006e9b9afba10e2e64d86538fe5777376c8f0f57 (diff)
downloadzsh-183f6b06d09fa3ed143a098f2fc5f7b6c17af7ef.tar.gz
zsh-183f6b06d09fa3ed143a098f2fc5f7b6c17af7ef.tar.xz
zsh-183f6b06d09fa3ed143a098f2fc5f7b6c17af7ef.zip
some small functions for completing sub-commands (generic function, init scripts, apachectl) (13536)
Diffstat (limited to 'Completion/User')
-rwxr-xr-xCompletion/User/_apachectl3
-rwxr-xr-xCompletion/User/_init_d5
2 files changed, 8 insertions, 0 deletions
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