iterm2-tools
iterm2-tools copied to clipboard
Add function to determine if we are in iTerm2
See https://raw.githubusercontent.com/gnachman/iTerm2/master/tests/isiterm2.sh and https://groups.google.com/d/msg/iterm2-discuss/MpOWDIn6QTs/EhlKou4uFgAJ.