summaryrefslogtreecommitdiff
path: root/.config/fish/completions/tide.fish
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish/completions/tide.fish')
-rw-r--r--.config/fish/completions/tide.fish12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/fish/completions/tide.fish b/.config/fish/completions/tide.fish
new file mode 100644
index 00000000..2d3784da
--- /dev/null
+++ b/.config/fish/completions/tide.fish
@@ -0,0 +1,12 @@
+complete tide --no-files
+
+set -l subcommands bug-report configure
+
+complete tide -x -n __fish_use_subcommand -a bug-report -d "Print info for use in bug reports"
+complete tide -x -n __fish_use_subcommand -a configure -d "Run the configuration wizard"
+
+complete tide -x -n "not __fish_seen_subcommand_from $subcommands" -s h -l help -d "Print help message"
+complete tide -x -n "not __fish_seen_subcommand_from $subcommands" -s v -l version -d "Print tide version"
+
+complete tide -x -n '__fish_seen_subcommand_from bug-report' -l clean -d "Run clean Fish instance and install Tide"
+complete tide -x -n '__fish_seen_subcommand_from bug-report' -l verbose -d "Print full Tide configuration"