adapt prompt for cygwin