Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Not being able to view remote image url via iTerm2's imgcat #703

Open
yohannes opened this issue Jul 19, 2019 · 6 comments
Open

Not being able to view remote image url via iTerm2's imgcat #703

yohannes opened this issue Jul 19, 2019 · 6 comments

Comments

@yohannes
Copy link

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?

@eyemyth
Copy link

eyemyth commented Oct 26, 2019

Yes, it works for me.

@yohannes
Copy link
Author

yohannes commented Oct 27, 2019

@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

@eyemyth
Copy link

eyemyth commented Oct 27, 2019

It goes to a blank page in your browser?

@yohannes
Copy link
Author

@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?

@eyemyth
Copy link

eyemyth commented Oct 28, 2019

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

@yohannes
Copy link
Author

Thanks for the pointer to the new fork. I'll keep digging to figure out why my config is not displaying image. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants