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:
parent
ca53345219
commit
e2e64a1632
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user