Start work on completion for the kitty command

This commit is contained in:
Kovid Goyal
2018-08-23 15:02:03 +05:30
parent 96c444d041
commit 16764c79b2
3 changed files with 104 additions and 0 deletions

9
completion/zsh/_kitty Normal file
View File

@@ -0,0 +1,9 @@
#compdef kitty
_kitty() {
local src
src=$(printf "%s\n" "${words[@]}" | kitty +complete zsh)
if [[ $? == 0 ]]; then
eval ${src}
fi
}