Detect SSH connections via tmux attached clients
Detect SSH connections via tmux attached clients

A neat trick I found was to use tmux showenv to check whether I'm in an
SSH connection or not from within a tmux instance. I can now smoothly
display the SSH indicator on my prompt for shells in tmux!

igemnace/zsh-config