summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_init_d4
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bdca139e8..1e35ec09f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-05-21  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* 17193: Completion/Unix/Command/_init_d: let _init_d use a
+	pre-pattern
+
 	* 17192: Src/Zle/compcore.c: fix for completion in nested
 	quotes where the sub-word ends in a backslash
 
diff --git a/Completion/Unix/Command/_init_d b/Completion/Unix/Command/_init_d
index 3556b85a4..cf389bff9 100644
--- a/Completion/Unix/Command/_init_d
+++ b/Completion/Unix/Command/_init_d
@@ -1,7 +1,9 @@
-#compdef -P */(init|rc[0-9S]#).d/*
+#compdef -p */(init|rc[0-9S]#).d/*
 
 local magic cmds what script
 
+_compskip=all
+
 # This should probably be system specific...
 
 script=$words[1]