1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-12 10:00:56 +01:00
zsh/Completion/Zsh/Command/_exec

9 lines
255 B
Text

#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'