Closed sweetbbak closed 4 months ago
The kitten's completion script doesn't define a context for icat
subcommand, so unfortunately you cannot define preview for it separately.
A workaround is:
icat() {
kitten icat $@
}
zstyle ':fzf-tab:complete:icat:*' fzf-preview 'kitten icat --clear --transfer-mode=memory --stdin=no --place=30x30@0x0 $realpath'
Thanks for the help. I love this project btw I couldn't go without it at this point.
Describe the bug
running icat for the Kitty Image Protocol does not work as a method to view images using fzf-tab. It does work with FZF though. Here as an example of this working with FZF:
I can make sure:
compinit
To Reproduce
Steps to reproduce the behavior:
Environment:
Minimal zshrc
If applicable, add a minimal zshrc to help us analyze.