zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _init_d
@ 2002-05-21  7:57 Sven Wischnowsky
  0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 2002-05-21  7:57 UTC (permalink / raw)
  To: zsh-workers


Hi (busy today ;-)

A small fixlet for something I found myself. Completion after, e.g.
/etc/init.d/mysql completed mysql-stuff, not what I expected. That's
because _init_d used a post-pattern. I think the pattern is specific
enough to allow it to be a pre-pattern.

Bye
  Sven

Index: Completion/Unix/Command/_init_d
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_init_d,v
retrieving revision 1.3
diff -u -r1.3 _init_d
--- Completion/Unix/Command/_init_d	8 May 2002 09:18:13 -0000	1.3
+++ Completion/Unix/Command/_init_d	21 May 2002 07:56:53 -0000
@@ -1,6 +1,8 @@
-#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...
 

-- 
Sven Wischnowsky                          wischnow@berkom.de


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-21  7:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-21  7:57 PATCH: _init_d Sven Wischnowsky

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).