how to tell if iterm terminal is being used?
By timothee.c... on February 11, 2015 18:30 (imported from Google Code)
I'm using shell integration (iterm_prompt_start etc) but this doesn't work in non-iterm terminals (prints weird codes), so I want to conditionally enable it.
Also, if I'm using iterm to ssh into a ubuntu machine, I should still be considered as using iterm (vs using ubuntu's native console)
I was hoping there's an environment variable to test for it.