about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_exec
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Command/_exec')
-rw-r--r--Completion/Zsh/Command/_exec4
1 files changed, 1 insertions, 3 deletions
diff --git a/Completion/Zsh/Command/_exec b/Completion/Zsh/Command/_exec
index 8de341a02..2498b57c0 100644
--- a/Completion/Zsh/Command/_exec
+++ b/Completion/Zsh/Command/_exec
@@ -1,9 +1,7 @@
 #compdef exec
 
-[[ $service == exec ]] && precommands+=( exec )
-
 _arguments -s -S -A '-*' : \
   '-a+[set argv\[0\] to specified string]:argv[0] string' \
   '-c[clear environment]' \
   '-l[simulate login shell (prepend - to argv\[0\])]' \
-  '*:: : _normal'
+  '*:: : _normal -p $service'