mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Add completions for kitty
terminal
This is a wrapper that calls kitty to dynamically provide completions, as generated by kitty itself, via `kitty + complete setup fish`. ref: https://sw.kovidgoyal.net/kitty/#fish
This commit is contained in:
parent
36d3714a62
commit
9c6bd8b1b4
1 changed files with 6 additions and 0 deletions
6
share/completions/kitty.fish
Normal file
6
share/completions/kitty.fish
Normal file
|
@ -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)"
|
Loading…
Reference in a new issue