wine: Fix extension glob to work on its own.

It has just been working as a lucky side effect of the uppercasing we
do in _filedir.
This commit is contained in:
Ville Skyttä 2012-07-09 00:01:56 +03:00
parent ca53345219
commit e2e64a1632

View File

@ -10,7 +10,7 @@ _wine()
COMPREPLY=( $( compgen -W '--help --version' -- "$cur" ) )
[[ $COMPREPLY ]] && return
fi
_filedir '[eE][xX][eE]?(.[sS][oO])|[cC][oO][mM]|[sS][cC][rR]|[mM][sS][iI]'
_filedir '@([eE][xX][eE]?(.[sS][oO])|[cC][oO][mM]|[sS][cC][rR]|[mM][sS][iI])'
else
_filedir
fi