From b2b521609581abd9a5b794d5ce0778640f6ac0f4 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 21 Jan 2008 10:54:29 +0000 Subject: [PATCH] Set nocaseglob on cygwin. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@96 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .profile.d/options.bashrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.20.1