mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-10 14:14:48 +02:00
Start work on completion for the kitty command
This commit is contained in:
9
completion/zsh/_kitty
Normal file
9
completion/zsh/_kitty
Normal file
@@ -0,0 +1,9 @@
|
||||
#compdef kitty
|
||||
|
||||
_kitty() {
|
||||
local src
|
||||
src=$(printf "%s\n" "${words[@]}" | kitty +complete zsh)
|
||||
if [[ $? == 0 ]]; then
|
||||
eval ${src}
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user