From: Iain Patterson Date: Mon, 21 Jan 2008 10:54:29 +0000 (+0000) Subject: Set nocaseglob on cygwin. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=b2b521609581abd9a5b794d5ce0778640f6ac0f4;p=profile.git Set nocaseglob on cygwin. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@96 6be0d1a5-5cfe-0310-89b6-964be062b18b --- diff --git a/.profile.d/options.bashrc b/.profile.d/options.bashrc index 2193342..366cb84 100644 --- a/.profile.d/options.bashrc +++ b/.profile.d/options.bashrc @@ -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