diff --git a/share/completions/kitty.fish b/share/completions/kitty.fish new file mode 100644 index 000000000..8f26b2165 --- /dev/null +++ b/share/completions/kitty.fish @@ -0,0 +1,6 @@ +function __kitty_completions + # Send all words up to the one before the cursor + commandline -cop | kitty +complete fish +end + +complete -f -c kitty -a "(__kitty_completions)"