summaryrefslogtreecommitdiffstats
path: root/fish/completions/fisher.fish
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-06-13 15:59:03 +0200
committerChristoph Schlosser <christoph@linux.com>2025-06-13 15:59:03 +0200
commitef9e297ee7cec55b3d2ee2eeae63f466206e1a24 (patch)
tree1fe10b5484982ae855f70a767961bfc025b8ab67 /fish/completions/fisher.fish
parent502a762ab860f6befa40e8503dd69ea712a86a94 (diff)
downloaddots-ef9e297ee7cec55b3d2ee2eeae63f466206e1a24.tar.gz
Add first dump of fish config files
Diffstat (limited to 'fish/completions/fisher.fish')
-rw-r--r--fish/completions/fisher.fish7
1 files changed, 7 insertions, 0 deletions
diff --git a/fish/completions/fisher.fish b/fish/completions/fisher.fish
new file mode 100644
index 0000000..6d23ce4
--- /dev/null
+++ b/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)"