- Added check for cygwin when setting the PS1.