fish-shell/share/completions/deno.fish

5 lines
197 B
Fish
Raw Normal View History

2021-11-23 02:52:12 +08:00
deno completions fish | source
# complete deno task
2023-12-13 00:33:16 +08:00
complete -f -c deno -n "__fish_seen_subcommand_from task" -n "__fish_is_nth_token 2" -a "(NO_COLOR=1 deno task &| string match -rg '^- (\S*)')"