mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-09 04:07:29 +08:00
![Mahmoud Al-Qudsi](/assets/img/avatar_default.png)
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
7 lines
179 B
Fish
7 lines
179 B
Fish
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)"
|