From 0df65a106d6959709642b246f440709bba97f2d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Martinez?= Date: Sun, 29 Jan 2017 15:37:14 +0100 Subject: [PATCH] Add setsid completions --- share/completions/setsid.fish | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 share/completions/setsid.fish diff --git a/share/completions/setsid.fish b/share/completions/setsid.fish new file mode 100644 index 000000000..a380787f4 --- /dev/null +++ b/share/completions/setsid.fish @@ -0,0 +1,9 @@ +# setsid is a tool to run a program in a new session. +# It is part of the util-linux package. +# See: https://www.kernel.org/pub/linux/utils/util-linux + +complete -c setsid -x -d 'Command to run' -a '(__fish_complete_subcommand)' +complete -c setsid -n '__fish_no_arguments' -l ctty -s c -d 'Set controlling terminal to current one' +complete -c setsid -n '__fish_no_arguments' -l wait -s w -d 'Wait until program ends and return its exit value' +complete -c setsid -n '__fish_no_arguments' -l version -s V -d 'Display version and exit' +complete -c setsid -n '__fish_no_arguments' -l help -s h -d 'Display help and exit'