about summary refs log tree commit diff
path: root/Completion/Linux/Command/_setsid
diff options
context:
space:
mode:
authorMatthew Martin <phy1729@gmail.com>2019-04-04 18:45:19 -0500
committerMatthew Martin <phy1729@gmail.com>2019-04-04 18:45:19 -0500
commit5facfd32805831230f9b42b7ec9765e858b553a8 (patch)
tree338774bab29346eaa1f29dff5813f71611613157 /Completion/Linux/Command/_setsid
parentbb790c8f8118d4428d8effc65b1c5dc03d1637f6 (diff)
downloadzsh-5facfd32805831230f9b42b7ec9765e858b553a8.tar.gz
zsh-5facfd32805831230f9b42b7ec9765e858b553a8.tar.xz
zsh-5facfd32805831230f9b42b7ec9765e858b553a8.zip
44200 (tweaked): Completion: Append to precommands in _normal
Diffstat (limited to 'Completion/Linux/Command/_setsid')
-rw-r--r--Completion/Linux/Command/_setsid4
1 files changed, 1 insertions, 3 deletions
diff --git a/Completion/Linux/Command/_setsid b/Completion/Linux/Command/_setsid
index a8107e582..f3aef500a 100644
--- a/Completion/Linux/Command/_setsid
+++ b/Completion/Linux/Command/_setsid
@@ -1,7 +1,5 @@
 #compdef setsid
 
-[[ $service == setsid ]] && precommands+=( setsid )
-
 _arguments -s -S -A '-*' : \
   '(: * -)'{-h,--help}'[display help information]' \
   '(: * -)'{-V,--version}'[display version information]' \
@@ -9,4 +7,4 @@ _arguments -s -S -A '-*' : \
   '(-f --fork)'{-f,--fork}'[always fork]' \
   '(-w --wait)'{-w,--wait}'[wait for program to exit, and use same return code]' \
   '1: :_path_commands' \
-  '*:: : _normal'
+  '*:: : _normal -p $service'