fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Lzu TaoComplete commands after `timeout`a1a293032

master
702 B15 linesraw
1__fish_make_completion_signals
2
3complete -c timeout -l foreground -d 'Run COMMAND in the foreground'
4complete -c timeout -s k -l kill-after -d 'Send a KILL signal after DURATION' -x
5complete -c timeout -s s -l signal -d 'Specify the signal to be sent' -xa "$__kill_signals"
6complete -c timeout -l preserve-status -d 'Exit with same status as COMMAND'
7
8complete -c timeout -r -a '(__fish_complete_command)' -d 'Specify which command to run'
9
10# GNU coreutils ver
11if timeout --version &>/dev/null
12    complete -c timeout -l help -d 'Display this help and exit'
13    complete -c timeout -l version -d 'Output version and exit'
14    complete -c timeout -s v -l verbose -d 'Send diagnostic info to stderr'
15end