Roman Perepelitsa 6d790237c3 Rewrite zsh integration
Note:

- Very lightly tested.
- Docs not updated.
2021-12-22 14:04:40 +01:00

8 lines
275 B
Plaintext

#compdef kitty
(( ${+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
builtin eval "$src"