2022-11-16 16:03:07 +08:00

8 lines
298 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-tool __complete__ fish | source -
end
complete -f -c clone-in-kitty -a "(__ksi_completions)"