Shell integration script with other terminal emulators
I use iTerm2 on OS X and gnome-terminal on Linux. gnome-terminal does not play well with the shell integration script installed by iTerm2. Could iTerm2 set some kind of iTerm2-specific environment variable so that the shell integration script only runs if that environment variable is set?