rtv
rtv copied to clipboard
Not being able to view remote image url via iTerm2's imgcat
Hi guys,
In the default mailcap file, there is a pre-defined command to view remote image url via iTerm2's imgcat as such image/*; bash -c '[[ "%s" == http* ]] && (curl -s %s | ~/.iterm2/imgcat) || ~/.iterm2/imgcat %s' && read -n 1; needsterminal
. Does anyone who has imgcat installed be able to use this command to display remote image url?
Yes, it works for me.
@eyemyth did you do any configuration to make it work? Because all I did were 1) ensure shell integration and utilities package is installed and uncomment the command above. But when invoked, it simply goes to a blank page
It goes to a blank page in your browser?
@eyemyth blank page as in my terminal view. the imgcat process should have displayed it in-line if it's working correctly. Yours is being displayed in the terminal view or browser?
Yep, in the terminal.
I'd start by adding some logging to rtv or imgcat or both.
By the way, this project is dead. There's a fork that's actively maintained: https://gitlab.com/ajak/tuir
Thanks for the pointer to the new fork. I'll keep digging to figure out why my config is not displaying image. Thanks.