From e7524ef3791cce0cb9752e2264d48484b6faa817 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sun, 18 Mar 2001 19:58:43 +0000 Subject: 13664pt2: Back out Completion/SysV --- Completion/SysV/_sysv_initscripts | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 Completion/SysV/_sysv_initscripts (limited to 'Completion/SysV/_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 -- cgit v1.2.3-70-g09d2