about summary refs log tree commit diff
path: root/Completion/Linux
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Linux')
-rw-r--r--Completion/Linux/Command/_setsid12
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'