From 8600374371f91843064441113f4023cda1730877 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sat, 18 Mar 2023 16:40:57 -0300 Subject: General fish fixes and updates --- .config/fish/completions/fisher.fish | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.config/fish/completions/fisher.fish') diff --git a/.config/fish/completions/fisher.fish b/.config/fish/completions/fisher.fish index 271e314e..6d23ce49 100644 --- a/.config/fish/completions/fisher.fish +++ b/.config/fish/completions/fisher.fish @@ -1 +1,7 @@ -fisher complete +complete --command fisher --exclusive --long help --description "Print 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)" -- cgit v1.2.3