π 2013-Jul-26 ⬩ βοΈ Ashwin Nanjappa ⬩ π·οΈ bash, cygwin ⬩ π Archive
To check for CygwinΒ in bashrc or bash scripts, use this:
if [[ "$OSTYPE" == "cygwin" ]]; then # Do something fi
Tried with: Bash 4.1.10 and Cygwin 1.7.22