diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2024-04-05 11:57:45 -0400 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2024-04-05 11:57:45 -0400 |
commit | b88d77fb2d0d5028a6f5670695dee6bec129501f (patch) | |
tree | 2536b0461d297e647cf07157641c9b1223339adf /home-config/fish/completions/tide.fish | |
parent | 776a7ca55d2d2c3f396de91db1c6c3c5065012cd (diff) |
ahhh sloppy fish, still needs fixing, esp with the vars
Diffstat (limited to 'home-config/fish/completions/tide.fish')
-rw-r--r-- | home-config/fish/completions/tide.fish | 13 |
1 files changed, 13 insertions, 0 deletions
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 @@ | |||
1 | complete tide --no-files | ||
2 | |||
3 | set -l subcommands bug-report configure reload | ||
4 | |||
5 | complete tide -x -n __fish_use_subcommand -a bug-report -d "Print info for use in bug reports" | ||
6 | complete tide -x -n __fish_use_subcommand -a configure -d "Run the configuration wizard" | ||
7 | complete tide -x -n __fish_use_subcommand -a reload -d "Reload tide configuration" | ||
8 | |||
9 | complete tide -x -n "not __fish_seen_subcommand_from $subcommands" -s h -l help -d "Print help message" | ||
10 | complete tide -x -n "not __fish_seen_subcommand_from $subcommands" -s v -l version -d "Print tide version" | ||
11 | |||
12 | complete tide -x -n '__fish_seen_subcommand_from bug-report' -l clean -d "Run clean Fish instance and install Tide" | ||
13 | complete tide -x -n '__fish_seen_subcommand_from bug-report' -l verbose -d "Print full Tide configuration" | ||