about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2004-01-15 17:00:20 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2004-01-15 17:00:20 +0000
commita06990cc45a47439b1527b7ced8b8aec44e65b10 (patch)
tree1ad18de2cfcf29df5750d2ab7bc64bce1009725c /Completion/Unix
parente51abdc7f4ff9088add35ab744e2e9a696d3ea16 (diff)
downloadzsh-a06990cc45a47439b1527b7ced8b8aec44e65b10.tar.gz
zsh-a06990cc45a47439b1527b7ced8b8aec44e65b10.tar.xz
zsh-a06990cc45a47439b1527b7ced8b8aec44e65b10.zip
19378: new update-rc.d completion avoid picking up README file as a service
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Type/_services2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_services b/Completion/Unix/Type/_services
index 670aed05b..8e682bd52 100644
--- a/Completion/Unix/Type/_services
+++ b/Completion/Unix/Type/_services
@@ -8,7 +8,7 @@ if chkconfig --list > /dev/null 2>&1; then
   inits=( ${${${alls[1,(r)xinetd based*]}[1,-2]}/%[[:space:]]*/} )
   xinetds=( ${${${${alls[(r)xinetd based*,-1]}[2,-1]}/#[[:space:]]#}/%:*} )
 else
-  inits=( /etc/init.d/*(:t) )
+  inits=( /etc/init.d/*(-*:t) )
 fi
 
 _tags init xinetd