8 lines
279 B
Fish
8 lines
279 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 edit-in-kitty -a "(__ksi_completions)"
|