mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Complete commands after timeout
This commit is contained in:
parent
ca485768cb
commit
a1a293032a
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ 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'
|
||||
|
||||
complete -c timeout -r -a '(__fish_complete_command)' -d 'Specify which command to run'
|
||||
|
||||
# GNU coreutils ver
|
||||
if timeout --version &>/dev/null
|
||||
complete -c timeout -l help -d 'Display this help and exit'
|
||||
|
|
Loading…
Reference in a new issue