_kitty 280 B

12345678
  1. #compdef kitty
  2. (( ${+commands[kitten]} )) || builtin return
  3. builtin local src cmd=${(F)words:0:$CURRENT}
  4. # Send all words up to the word the cursor is currently on.
  5. src=$(builtin command kitten __complete__ zsh "_matcher=$_matcher" <<<$cmd) || builtin return
  6. builtin eval "$src"