From b5650d3ef60f4a1c47cb75054f351fc5d7b4f07d Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Thu, 14 Jan 2021 20:25:29 +0900 Subject: [PATCH] Use verbose syntax in completions --- completions/fisher.fish | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/completions/fisher.fish b/completions/fisher.fish index 16e7c2e..cfc25c4 100644 --- a/completions/fisher.fish +++ b/completions/fisher.fish @@ -1,7 +1,7 @@ -complete -c fisher --exclusive --long help -d "Print usage help" -complete -c fisher --exclusive --long version -d "Print version" -complete -c fisher --exclusive --condition "__fish_use_subcommand" -a install -d "Install plugins" -complete -c fisher --exclusive --condition "__fish_use_subcommand" -a update -d "Update installed plugins" -complete -c fisher --exclusive --condition "__fish_use_subcommand" -a remove -d "Remove installed plugins" -complete -c fisher --exclusive --condition "__fish_use_subcommand" -a list -d "List installed plugins matching optional regex" -complete -c fisher --exclusive --condition "__fish_seen_subcommand_from update remove" -a "(fisher list)" \ No newline at end of file +complete --command fisher --exclusive --long help --description "Print usage help" +complete --command fisher --exclusive --long version --description "Print version" +complete --command fisher --exclusive --condition __fish_use_subcommand --arguments install --description "Install plugins" +complete --command fisher --exclusive --condition __fish_use_subcommand --arguments update --description "Update installed plugins" +complete --command fisher --exclusive --condition __fish_use_subcommand --arguments remove --description "Remove installed plugins" +complete --command fisher --exclusive --condition __fish_use_subcommand --arguments list --description "List installed plugins matching regex" +complete --command fisher --exclusive --condition "__fish_seen_subcommand_from update remove" --arguments "(fisher list)"