2022-11-14 15:41:58 +05:30

8 lines
283 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-tool __complete__ zsh "_matcher=$_matcher" <<<$cmd) || builtin return
builtin eval "$src"