summaryrefslogtreecommitdiff
path: root/home-config/fish/completions
diff options
context:
space:
mode:
Diffstat (limited to 'home-config/fish/completions')
-rw-r--r--home-config/fish/completions/fisher.fish7
-rw-r--r--home-config/fish/completions/fzf_configure_bindings.fish8
-rw-r--r--home-config/fish/completions/tide.fish13
3 files changed, 28 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)"
diff --git a/home-config/fish/completions/fzf_configure_bindings.fish b/home-config/fish/completions/fzf_configure_bindings.fish
new file mode 100644
index 0000000..b38ef92
--- /dev/null
+++ b/home-config/fish/completions/fzf_configure_bindings.fish
@@ -0,0 +1,8 @@
1complete fzf_configure_bindings --no-files
2complete fzf_configure_bindings --long help --short h --description "Print help" --condition "not __fish_seen_argument --help -h"
3complete fzf_configure_bindings --long directory --description "Change the key binding for Search Directory" --condition "not __fish_seen_argument --directory"
4complete fzf_configure_bindings --long git_log --description "Change the key binding for Search Git Log" --condition "not __fish_seen_argument --git_log"
5complete fzf_configure_bindings --long git_status --description "Change the key binding for Search Git Status" --condition "not __fish_seen_argument --git_status"
6complete fzf_configure_bindings --long history --description "Change the key binding for Search History" --condition "not __fish_seen_argument --history"
7complete fzf_configure_bindings --long processes --description "Change the key binding for Search Processes" --condition "not __fish_seen_argument --processes"
8complete fzf_configure_bindings --long variables --description "Change the key binding for Search Variables" --condition "not __fish_seen_argument --variables"
diff --git a/home-config/fish/completions/tide.fish b/home-config/fish/completions/tide.fish
new file mode 100644
index 0000000..1ba1960
--- /dev/null
+++ b/home-config/fish/completions/tide.fish
@@ -0,0 +1,13 @@
1complete tide --no-files
2
3set -l subcommands bug-report configure reload
4
5complete tide -x -n __fish_use_subcommand -a bug-report -d "Print info for use in bug reports"
6complete tide -x -n __fish_use_subcommand -a configure -d "Run the configuration wizard"
7complete tide -x -n __fish_use_subcommand -a reload -d "Reload tide configuration"
8
9complete tide -x -n "not __fish_seen_subcommand_from $subcommands" -s h -l help -d "Print help message"
10complete tide -x -n "not __fish_seen_subcommand_from $subcommands" -s v -l version -d "Print tide version"
11
12complete tide -x -n '__fish_seen_subcommand_from bug-report' -l clean -d "Run clean Fish instance and install Tide"
13complete tide -x -n '__fish_seen_subcommand_from bug-report' -l verbose -d "Print full Tide configuration"