summary refs log tree commit diff
path: root/Completion/Linux/Command/_setsid
blob: a8107e5826c5d7973ad512e0f90ab99777b2db63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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'