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/Linux/Command/_setsid | |
parent | 1f8bea22473f5f8f829c604899bd39a896c804f1 (diff) | |
download | zsh-f7f5b7f4ee17027438135249b1f8b035742206c0.tar.gz zsh-f7f5b7f4ee17027438135249b1f8b035742206c0.tar.xz zsh-f7f5b7f4ee17027438135249b1f8b035742206c0.zip |
43960: Add full completion for exec and setsid
Diffstat (limited to 'Completion/Linux/Command/_setsid')
-rw-r--r-- | Completion/Linux/Command/_setsid | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Completion/Linux/Command/_setsid b/Completion/Linux/Command/_setsid new file mode 100644 index 000000000..a8107e582 --- /dev/null +++ b/Completion/Linux/Command/_setsid @@ -0,0 +1,12 @@ +#compdef setsid + +[[ $service == setsid ]] && precommands+=( setsid ) + +_arguments -s -S -A '-*' : \ + '(: * -)'{-h,--help}'[display help information]' \ + '(: * -)'{-V,--version}'[display version information]' \ + '(-c --ctty)'{-c,--ctty}'[set controlling terminal to current one]' \ + '(-f --fork)'{-f,--fork}'[always fork]' \ + '(-w --wait)'{-w,--wait}'[wait for program to exit, and use same return code]' \ + '1: :_path_commands' \ + '*:: : _normal' |