mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 11:43:37 +08:00
9367d4ff71
This does not include checks/function.fish because that currently includes a "; end" in a message that indent would remove, breaking the test.
10 lines
608 B
Fish
10 lines
608 B
Fish
# 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'
|