mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 08:58:01 +00:00
time: complete external time options only if available
This commit is contained in:
parent
f0df211f4c
commit
6dd9e50f82
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
if not command -q time
|
||||
complete -c time -a "(__fish_complete_subcommand)" -d "Command"
|
||||
exit
|
||||
end
|
||||
|
||||
complete -c time -a "(__fish_complete_subcommand -- -o --output -f --format)" -d "Command"
|
||||
|
||||
|
|
Loading…
Reference in a new issue