aboutsummaryrefslogtreecommitdiff
path: root/config/fish/completions/fisher.fish
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-10-25 19:26:51 +0200
committerWilliam Hergès <william@herges.fr>2025-10-25 19:26:51 +0200
commitf7b2d69e6ff913d163dae11f1be31e05390273d1 (patch)
tree75f0b1c4e3b91e65478a224ea359c8b9ba2e7f0a /config/fish/completions/fisher.fish
parentc5f7c2d1c748fe58aea6112e3be83934599888be (diff)
feat(fish): cli utils
Diffstat (limited to 'config/fish/completions/fisher.fish')
-rw-r--r--config/fish/completions/fisher.fish7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/fish/completions/fisher.fish b/config/fish/completions/fisher.fish
new file mode 100644
index 0000000..6d23ce4
--- /dev/null
+++ b/config/fish/completions/fisher.fish
@@ -0,0 +1,7 @@
+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)"