mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
time: complete external time options only if available
This commit is contained in:
parent
f0df211f4c
commit
6dd9e50f82
@ -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…
x
Reference in New Issue
Block a user