mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 08:11:15 -03:00
Update kitty completion
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
function __kitty_completions
|
function __ksi_completions
|
||||||
# Send all words up to the one before the cursor
|
set --local ct (commandline --current-token)
|
||||||
commandline -cop | kitty +complete fish
|
set --local tokens (commandline --tokenize --cut-at-cursor --current-process)
|
||||||
|
printf "%s\n" $tokens $ct | command kitty +complete fish2
|
||||||
end
|
end
|
||||||
|
|
||||||
complete -f -c kitty -a "(__kitty_completions)"
|
complete -f -c kitty -a "(__ksi_completions)"
|
||||||
|
|||||||
Reference in New Issue
Block a user