robbyrussell/oh-my-zsh — pull request #2739 by ferenczy (2014-04-23 01:46:29+00:00)
Title: Added setting of the window title under Cygwin

Common method for setting window title using escape sequences works under Cygwin on Windows too (for example in mintty, ConEmu and even in plain cmd.exe). But Cygwin sets TERM environment variable to "cygwin" by default. Therefore I have added "cygwin" to the TERM testing condition. Tested in ConEmu, mintty and cmd.exe.