summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-03-18 19:55:12 +0000
committerClint Adams <clint@users.sourceforge.net>2001-03-18 19:55:12 +0000
commitd5eeb8d45a7ec710d00362d22c0290e83f02ae9c (patch)
tree0bc43d651fe050a7e2fb96e68ef5f1a649f67282 /Completion
parentc1d5c9372bc58ed03afe5b7a4d5e240990fb8249 (diff)
downloadzsh-d5eeb8d45a7ec710d00362d22c0290e83f02ae9c.tar.gz
zsh-d5eeb8d45a7ec710d00362d22c0290e83f02ae9c.tar.xz
zsh-d5eeb8d45a7ec710d00362d22c0290e83f02ae9c.zip
13664: */rcS.d/* force-reload, force-restart
Diffstat (limited to 'Completion')
-rwxr-xr-xCompletion/User/_init_d4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_init_d b/Completion/User/_init_d
index 239388591..93065cd80 100755
--- a/Completion/User/_init_d
+++ b/Completion/User/_init_d
@@ -1,4 +1,4 @@
-#compdef -P */(init|rc[0-9]#).d/*
+#compdef -P */(init|rc[0-9S]#).d/*
 
 local magic cmds what
 
@@ -7,7 +7,7 @@ local magic cmds what
 # If the file starts with `#!' we hope that this is a shell script
 # and get lines looking like <space>foo|bar) with the words in $what.
 
-what='(st(art|op|atus)|re(start|load)|debug_(up|down)|dump(|_stats)|add|delete|clean|list)'
+what='(st(art|op|atus)|(force-|)re(start|load)|debug_(up|down)|dump(|_stats)|add|delete|clean|list)'
 
 read -u0k 2 magic < $words[1] && [[ $magic = '#!' ]] &&
     cmds=( ${${(j:|:s:|:)${(M)${(f)"$(< $words[1])"}:#[[:blank:]]#(\'|)${~what}(|${~what})#(\'|)\)}}//[^a-z_]} )