2019-12-21 10:50:31 +00:00
|
|
|
if not command -q time
|
2020-03-09 18:36:12 +00:00
|
|
|
complete -c time -a "(__fish_complete_subcommand)" -d Command
|
2019-12-21 10:50:31 +00:00
|
|
|
exit
|
|
|
|
end
|
2006-01-23 11:39:36 +00:00
|
|
|
|
2020-03-09 18:36:12 +00:00
|
|
|
complete -c time -a "(__fish_complete_subcommand -- -o --output -f --format)" -d Command
|
2006-01-23 11:39:36 +00:00
|
|
|
|
2020-03-09 18:36:12 +00:00
|
|
|
complete -c time -s f -l format -n __fish_no_arguments -d "Specify output format" -x
|
|
|
|
complete -c time -s p -l portable -n __fish_no_arguments -d "Use the portable output format"
|
|
|
|
complete -c time -s o -l output -n __fish_no_arguments -d "Do not send the results to stderr, but overwrite the specified file" -r
|
|
|
|
complete -c time -s a -l append -n __fish_no_arguments -d "(Used together with -o) Do not overwrite but append"
|
|
|
|
complete -c time -s v -l verbose -n __fish_no_arguments -d "Verbose mode"
|
|
|
|
complete -c time -l help -n __fish_no_arguments -d "Display help and exit"
|
|
|
|
complete -c time -s V -l version -n __fish_no_arguments -d "Display version and exit"
|