Detect mintty in .zshrc?
Andy Koppe
andy.koppe@gmail.com
Thu Mar 3 12:21:00 GMT 2011
On 3 March 2011 10:10, Rafael Kitover wrote:
> I was wondering if there's a way in my .zshrc to determine if the shell
> is running in mintty or in a regular windows console.
Check $TERM. It defaults to 'xterm' in mintty and 'cygwin' in the console.
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list