X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2Foptions.bashrc;h=366cb84f5b0500841cc9bbb5e212ca0e951f72e6;hb=31189bc241721bf1e1b38dd31875fa6093b64e74;hp=3d87c1f87466a758beb35d5c0c7354be451d7b03;hpb=5b55ae5ffc76dae9d0f2a7f4312f8398a8d96db7;p=profile.git diff --git a/.profile.d/options.bashrc b/.profile.d/options.bashrc index 3d87c1f..366cb84 100644 --- a/.profile.d/options.bashrc +++ b/.profile.d/options.bashrc @@ -26,11 +26,11 @@ shopt -u hostcomplete 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