shopt -u huponexit
# Handle accidental tab mashing at start of a line.
-shopt -s no_emptycmd_completion
+shopt -s no_empty_cmd_completion
# The Red Hat The
-shopt -u nocaseglob
-
-# Return a null string when no matches are found for a glob, rather than the
-# literal pattern.
-shopt -s nullglob
+if [ "$OSTYPE" = "cygwin" ]; then
+ shopt -s nocaseglob
+else
+ shopt -u nocaseglob
+fi