diff options
| author | dana <dana@dana.is> | 2019-01-01 08:01:14 -0600 |
|---|---|---|
| committer | dana <dana@dana.is> | 2019-01-01 08:01:14 -0600 |
| commit | f7f5b7f4ee17027438135249b1f8b035742206c0 (patch) | |
| tree | d3fb8e0a2cd3bba210e3fa52432fab0bc951942d /Completion/Zsh/Command/_exec | |
| parent | 43959: Add completion for strongSwan, &al. (diff) | |
| download | zsh-f7f5b7f4ee17027438135249b1f8b035742206c0.tar zsh-f7f5b7f4ee17027438135249b1f8b035742206c0.tar.gz zsh-f7f5b7f4ee17027438135249b1f8b035742206c0.tar.bz2 zsh-f7f5b7f4ee17027438135249b1f8b035742206c0.tar.lz zsh-f7f5b7f4ee17027438135249b1f8b035742206c0.tar.xz zsh-f7f5b7f4ee17027438135249b1f8b035742206c0.tar.zst zsh-f7f5b7f4ee17027438135249b1f8b035742206c0.zip | |
43960: Add full completion for exec and setsid
Diffstat (limited to 'Completion/Zsh/Command/_exec')
| -rw-r--r-- | Completion/Zsh/Command/_exec | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_exec b/Completion/Zsh/Command/_exec new file mode 100644 index 000000000..8de341a02 --- /dev/null +++ b/Completion/Zsh/Command/_exec @@ -0,0 +1,9 @@ +#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' |
