mirror of https://github.com/nkoehring/configs.git
kitty related updates
parent
3a402ad680
commit
4ccea5537d
@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
_kitty() {
|
||||||
|
local src
|
||||||
|
# Send all words up to the word the cursor is currently on
|
||||||
|
src=$(printf "%s
|
||||||
|
" "${(@)words[1,$CURRENT]}" | kitty +complete zsh)
|
||||||
|
if [[ $? == 0 ]]; then
|
||||||
|
eval ${src}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
compdef _kitty kitty
|
||||||
|
|
Loading…
Reference in New Issue