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)"