mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +08:00
8 lines
271 B
Fish
8 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)"
|