about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-03-18 19:58:43 +0000
committerClint Adams <clint@users.sourceforge.net>2001-03-18 19:58:43 +0000
commite7524ef3791cce0cb9752e2264d48484b6faa817 (patch)
treeb61dc9d1d6e4e3735b1b4c739c19b96555a4b5ce
parentd5eeb8d45a7ec710d00362d22c0290e83f02ae9c (diff)
downloadzsh-e7524ef3791cce0cb9752e2264d48484b6faa817.tar.gz
zsh-e7524ef3791cce0cb9752e2264d48484b6faa817.tar.xz
zsh-e7524ef3791cce0cb9752e2264d48484b6faa817.zip
13664pt2: Back out Completion/SysV
-rw-r--r--ChangeLog2
-rw-r--r--Completion/SysV/.distfiles4
-rw-r--r--Completion/SysV/_sysv_initscripts17
3 files changed, 1 insertions, 22 deletions
diff --git a/ChangeLog b/ChangeLog
index f573bab1d..1ed39da32 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
 2001-03-18  Clint Adams  <schizo@debian.org>
 
 	* 13664: Completion/User/_init_d: handle rcS.d, force-restart,
-	force-reload.
+	force-reload.  Also, remove Completion/SysV.
 
 2001-03-18  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>
 
diff --git a/Completion/SysV/.distfiles b/Completion/SysV/.distfiles
deleted file mode 100644
index 7864466f0..000000000
--- a/Completion/SysV/.distfiles
+++ /dev/null
@@ -1,4 +0,0 @@
-DISTFILES_SRC='
-    .distfiles
-    _sysv_initscripts
-'
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