projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
etc/zsh/completion.d/_grmlinitd
@@ -0,0
+1,4
@@
+#compdef Start Restart Stop Reload
+local scripts
+scripts=( ${$(print /etc/init.d/*(x)):t} )
+_describe "service startup script" scripts