about summary refs log tree commit diff
path: root/Completion/Unix/Type/_services
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Type/_services')
-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