Live data from Hacker News

Little known features of iTerm2

banga.github.io

1–10 of 156 posts

Re: Little known features of iTerm2

#2
A couple more that I use often:

* imgcat: you can view images without leaving your terminal. Somehow this works even across SSH connections…

* Python scripting API: basically AppleScript for iTerm except it lets you touch pretty much everything and it's not soul-crushing to write. I have mine switch between themes based on the system appearance (which changes based on the time of day).

Re: Little known features of iTerm2

#4

A couple more that I use often: * imgcat: you can view images without leaving your terminal. Somehow this works even across SSH connections… * Python scripting API: basically AppleScript for iTerm except it lets you touch pretty much everything and it's not soul-crushing to write. I have mine switch between themes based on the system appearance (which changes based on the time of day).

  -bash: imgcat: command not found
am I missing something?

Re: Little known features of iTerm2

#5
post #4

A couple more that I use often: * imgcat: you can view images without leaving your terminal. Somehow this works even across SSH connections… * Python scripting API: basically AppleScript for iTerm except it lets you touch pretty much everything and it's not soul-crushing to write. I have mine switch between themes based on the system appearance (which changes based on the time of day).

-bash: imgcat: command not found am I missing something?

GP is talking about the inline images protocol: https://www.iterm2.com/documentation-images.html

Re: Little known features of iTerm2

#6
post #4

A couple more that I use often: * imgcat: you can view images without leaving your terminal. Somehow this works even across SSH connections… * Python scripting API: basically AppleScript for iTerm except it lets you touch pretty much everything and it's not soul-crushing to write. I have mine switch between themes based on the system appearance (which changes based on the time of day).

-bash: imgcat: command not found am I missing something?

You probably need to download and put it in your path.

https://www.iterm2.com/utilities/imgcat

Re: Little known features of iTerm2

#8
post #4

A couple more that I use often: * imgcat: you can view images without leaving your terminal. Somehow this works even across SSH connections… * Python scripting API: basically AppleScript for iTerm except it lets you touch pretty much everything and it's not soul-crushing to write. I have mine switch between themes based on the system appearance (which changes based on the time of day).

-bash: imgcat: command not found am I missing something?

  $ curl https://www.iterm2.com/utilities/imgcat > /something/on/your/path/imgcat

Re: Little known features of iTerm2

#10
post #3

I'm a little jealous of iTerm, not going to lie. The UX is pretty nice from what I've seen, but I can't find a like for like replacement for either Windows or Linux.

Every time I've considered a full-on switch to Linux, the many little tools that I'd have to give up weigh heavily the cons column.
Post reply on HN