summary refs log tree commit diff
path: root/Completion/SysV/_sysv_initscripts
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/SysV/_sysv_initscripts')
-rw-r--r--Completion/SysV/_sysv_initscripts17
1 files changed, 0 insertions, 17 deletions
diff --git a/Completion/SysV/_sysv_initscripts b/Completion/SysV/_sysv_initscripts
deleted file mode 100644
index 2f0a520f9..000000000
--- a/Completion/SysV/_sysv_initscripts
+++ /dev/null
@@ -1,17 +0,0 @@
-#compdef -p /etc/(init|rc[0-9S]).d/*
-
-local stdargs nonstdargs expl
-
-if [[ -f $words[1] ]]
-then
-nonstdargs=(${${(s: :)${${${${(M)${(f)"$(<$words[1])"}:#[	 a-z-|]##\)*}%\)*}##\ #}:gs/|/ /}:s/	//}:#(start|stop|restart|force-reload|reload)})
-stdargs=(${(M)${(s: :)${${${${(M)${(f)"$(<$words[1])"}:#[	 a-z-|]##\)*}%\)*}##\ #}:gs/|/ /}:s/	//}:#(start|stop|restart|force-reload|reload)})
-else
-nonstdargs=()
-stdargs=(start stop restart force-reload)
-fi
-
-_tags nonstdargs stdargs
-
-_wanted -V stdargs expl "standard arguments" compadd -a stdargs
-_wanted nonstdargs expl "non-standard arguments" compadd -a nonstdargs