X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2Foptions.bashrc;h=366cb84f5b0500841cc9bbb5e212ca0e951f72e6;hb=736982b20af663fed7884dc39fe050eabdfbd511;hp=03a0ef978b4ae887f5b1cb5efc63a4c6da1df812;hpb=242076913f9875448112f924695d39fa5b27dc0e;p=profile.git diff --git a/.profile.d/options.bashrc b/.profile.d/options.bashrc index 03a0ef9..366cb84 100644 --- a/.profile.d/options.bashrc +++ b/.profile.d/options.bashrc @@ -29,8 +29,8 @@ shopt -u huponexit 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