about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2002-05-21 07:58:24 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2002-05-21 07:58:24 +0000
commitb169a45ebc5225748d0a425017cadbdefc3fb01f (patch)
tree49a68508187407cce97cf16b93a0d91dc8bd8c57
parent654c4ab4ffa5f5109d8f167c7908d3d4d5b7aead (diff)
downloadzsh-b169a45ebc5225748d0a425017cadbdefc3fb01f.tar.gz
zsh-b169a45ebc5225748d0a425017cadbdefc3fb01f.tar.xz
zsh-b169a45ebc5225748d0a425017cadbdefc3fb01f.zip
let _init_d use a pre-pattern (17193)
-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]