fish-shell/share/completions/kitty.fish
2022-06-07 16:26:09 +02:00

7 lines
271 B
Fish

function __ksi_completions
set --local ct (commandline --current-token)
set --local tokens (commandline --tokenize --cut-at-cursor --current-process)
printf "%s\n" $tokens $ct | command kitty +complete fish2
end
complete -f -c kitty -a "(__ksi_completions)"