Big rewrite of /etc/zsh/completion.d/, thanks to ft!
[grml-etc-core.git] / etc / zsh / completion.d / _grmlinitd
diff --git a/etc/zsh/completion.d/_grmlinitd b/etc/zsh/completion.d/_grmlinitd
new file mode 100644 (file)
index 0000000..177dfd5
--- /dev/null
@@ -0,0 +1,4 @@
+#compdef Start Restart Stop Reload
+local scripts
+scripts=( ${$(print /etc/init.d/*(x)):t} )
+_describe "service startup script" scripts