mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 06:25:13 +02:00
Get zsh completion working apart from delegation
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
(( ${+commands[kitty]} )) || builtin return
|
||||
builtin local src cmd=${(F)words:0:$CURRENT}
|
||||
# Send all words up to the word the cursor is currently on.
|
||||
src=$(builtin command kitty +complete zsh "_matcher=$_matcher" <<<$cmd) || builtin return
|
||||
src=$(builtin command kitty-tool __complete__ zsh "_matcher=$_matcher" <<<$cmd) || builtin return
|
||||
builtin eval "$src"
|
||||
|
||||
Reference in New Issue
Block a user