summaryrefslogtreecommitdiff
path: root/home-config/fish/completions/fisher.fish
diff options
context:
space:
mode:
Diffstat (limited to 'home-config/fish/completions/fisher.fish')
-rw-r--r--home-config/fish/completions/fisher.fish7
1 files changed, 7 insertions, 0 deletions
diff --git a/home-config/fish/completions/fisher.fish b/home-config/fish/completions/fisher.fish
new file mode 100644
index 0000000..6d23ce4
--- /dev/null
+++ b/home-config/fish/completions/fisher.fish
@@ -0,0 +1,7 @@
1complete --command fisher --exclusive --long help --description "Print help"
2complete --command fisher --exclusive --long version --description "Print version"
3complete --command fisher --exclusive --condition __fish_use_subcommand --arguments install --description "Install plugins"
4complete --command fisher --exclusive --condition __fish_use_subcommand --arguments update --description "Update installed plugins"
5complete --command fisher --exclusive --condition __fish_use_subcommand --arguments remove --description "Remove installed plugins"
6complete --command fisher --exclusive --condition __fish_use_subcommand --arguments list --description "List installed plugins matching regex"
7complete --command fisher --exclusive --condition "__fish_seen_subcommand_from update remove" --arguments "(fisher list)"