mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 00:47:30 +00:00
7 lines
271 B
Fish
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)"
|