[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-10-ge2e64a1

Ville Skyttä ville.skytta at iki.fi
Sun Jul 8 21:05:18 UTC 2012


The following commit has been merged in the master branch:
commit e2e64a16329cf0005006dffea590dce20200469d
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Mon Jul 9 00:01:56 2012 +0300

    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.

diff --git a/completions/wine b/completions/wine
index 2e8b123..8cdc914 100644
--- a/completions/wine
+++ b/completions/wine
@@ -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

-- 
bash-completion



More information about the Bash-completion-commits mailing list