From ed1ae747fe8d155a2d1c809ef69185fd560f911d Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Tue, 22 Apr 2025 22:02:00 +0800 Subject: [PATCH] fish: Update exercism completions --- .config/fish/completions/exercism.fish | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.config/fish/completions/exercism.fish b/.config/fish/completions/exercism.fish index dc20fdc..c2c7c08 100644 --- a/.config/fish/completions/exercism.fish +++ b/.config/fish/completions/exercism.fish @@ -15,16 +15,20 @@ complete -f -c exercism -n "__fish_seen_subcommand_from download" -s u -l uuid - # Help complete -f -c exercism -n "__fish_use_subcommand" -a "help" -d "Shows a list of commands or help for one command" -complete -f -c exercism -n "__fish_seen_subcommand_from help" -a "configure download help open submit troubleshoot upgrade version workspace" +complete -f -c exercism -n "__fish_seen_subcommand_from help" -a "configure download help open submit test troubleshoot upgrade version workspace" # Open -complete -f -c exercism -n "__fish_use_subcommand" -a "open" -d "Opens a browser to exercism.io for the specified submission." +complete -f -c exercism -n "__fish_use_subcommand" -a "open" -d "Opens a browser to exercism.org for the specified submission." complete -f -c exercism -n "__fish_seen_subcommand_from open" -s h -l help -d "help for open" # Submit -complete -f -c exercism -n "__fish_use_subcommand" -a "submit" -d "Submits a new iteration to a problem on exercism.io." +complete -f -c exercism -n "__fish_use_subcommand" -a "submit" -d "Submits a new iteration to a problem on exercism.org." complete -f -c exercism -n "__fish_seen_subcommand_from submit" -s h -l help -d "help for submit" +# Test +complete -f -c exercism -n "__fish_use_subcommand" -a "test" -d "Run the exercise's tests." +complete -f -c exercism -n "__fish_seen_subcommand_from submit" -s h -l help -d "help for test" + # Troubleshoot complete -f -c exercism -n "__fish_use_subcommand" -a "troubleshoot" -d "Outputs useful debug information." complete -f -c exercism -n "__fish_seen_subcommand_from troubleshoot" -s f -l full-api-key -d "display full API key (censored by default)"