mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Get zsh completion working apart from delegation
This commit is contained in:
parent
cbbda23e01
commit
2cc359ccc8
7 changed files with 160 additions and 6 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue