Hacker News new | ask | show | jobs
by ryukafalz 3737 days ago
Since you're using iTerm, here's a fancy little trick:

If you're connected to a remote machine, run 'tmux -CC'. Tmux tabs on the remote machine will appear as iTerm tabs on your local machine. (This works for attaching to existing tmux sessions as well: 'tmux -CC attach'.)

1 comments

Interesting. The only thing I could find on the man page with CC change cursor color. How did you come upon this?
I don't believe it's actually a feature of tmux itself, but rather iTerm. My suspicion is that iTerm watches for that command in particular and rewrites it behind the scenes.

I was told about it by a coworker - more detailed info can be found here:

https://gitlab.com/gnachman/iterm2/wikis/TmuxIntegration