Set nocaseglob on cygwin.
authorIain Patterson <me@iain.cx>
Mon, 21 Jan 2008 10:54:29 +0000 (10:54 +0000)
committerIain Patterson <me@iain.cx>
Mon, 21 Jan 2008 10:54:29 +0000 (10:54 +0000)
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@96 6be0d1a5-5cfe-0310-89b6-964be062b18b

.profile.d/options.bashrc

index 2193342..366cb84 100644 (file)
@@ -29,4 +29,8 @@ shopt -u huponexit
 shopt -s no_empty_cmd_completion
 
 # The Red Hat The
-shopt -u nocaseglob
+if [ "$OSTYPE" = "cygwin" ]; then
+  shopt -s nocaseglob
+else
+  shopt -u nocaseglob
+fi