mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 17:02:45 +08:00
completions/timeout: Stop spewing
GNU timeout prints the version to stdout. Just silence both.
This commit is contained in:
parent
be828b50e3
commit
c0fc80cb59
|
@ -6,7 +6,7 @@ complete -c timeout -s s -l signal -d 'Specify the signal to be sent' -xa "$__ki
|
|||
complete -c timeout -l preserve-status -d 'Exit with same status as COMMAND'
|
||||
|
||||
# GNU coreutils ver
|
||||
if timeout --version 2>/dev/null
|
||||
if timeout --version &>/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'
|
||||
|
|
Loading…
Reference in New Issue
Block a user