mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
completions: update timeout
This commit is contained in:
parent
41e6d4cc9c
commit
49bdab4898
1 changed files with 10 additions and 4 deletions
|
@ -1,7 +1,13 @@
|
|||
__fish_make_completion_signals
|
||||
|
||||
complete -c timeout -l foreground -d 'Run COMMAND in the foreground'
|
||||
complete -c timeout -s k -l kill-after -d 'Send a KILL signal after DURATION'
|
||||
complete -c timeout -s s -l signal -d 'Specify the signal to be sent'
|
||||
complete -c timeout -l help -d 'Display this help and exit'
|
||||
complete -c timeout -l version -d 'Output version information and exit'
|
||||
complete -c timeout -s k -l kill-after -d 'Send a KILL signal after DURATION' -x
|
||||
complete -c timeout -s s -l signal -d 'Specify the signal to be sent' -xa "$__kill_signals"
|
||||
complete -c timeout -l preserve-status -d 'Exit with same status as COMMAND'
|
||||
|
||||
# GNU coreutils ver
|
||||
if timeout --version 2>/dev/null
|
||||
complete -c timeout -l help -d 'Display this help and exit'
|
||||
complete -c timeout -l version -d 'Output version and exit'
|
||||
complete -c timeout -s v -l verbose -d 'Send diagnostic info to stderr'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue