[Bash-completion-commits] [SCM] bash-completion branch, master, updated. acfa7eef3b263f84ae73c080030fae748fbdd433

Ville Skyttä ville.skytta at iki.fi
Fri Mar 12 16:17:16 UTC 2010


The following commit has been merged in the master branch:
commit acfa7eef3b263f84ae73c080030fae748fbdd433
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Mar 12 18:16:48 2010 +0200

    Simplify wine extension glob.

diff --git a/bash_completion b/bash_completion
index 33f9575..de7fb4d 100644
--- a/bash_completion
+++ b/bash_completion
@@ -104,7 +104,7 @@ complete -f -X '!*.@(mid?(i)|MID?(I)|rmi|RMI|rcp|RCP|[gr]36|[GR]36|g18|G18|mod|M
 complete -f -X '!*.@(m[eo]d|M[EO]D|s[3t]m|S[3T]M|xm|XM|it|IT)' modplugplay
 complete -f -X '*.@(o|so|so.!(conf)|a|rpm|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mp?(e)g|MPG|avi|AVI|asf|ASF|ogg|OGG|class|CLASS)' vi vim gvim rvim view rview rgvim rgview gview
 complete -f -X '*.@(o|so|so.!(conf)|a|rpm|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mp?(e)g|MPG|avi|AVI|asf|ASF|ogg|OGG|class|CLASS)' emacs
-complete -f -X '!*.@([eE][xX][eE]|[cC][oO][mM]|[sS][cC][rR]|[eE][xX][eE].[sS][oO])' wine
+complete -f -X '!*.@([eE][xX][eE]?(.[sS][oO])|[cC][oO][mM]|[sS][cC][rR])' wine
 complete -f -X '!*.@(zip|ZIP|z|Z|gz|GZ|tgz|TGZ)' bzme
 # konqueror not here on purpose, it's more than a web/html browser
 complete -f -X '!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))' netscape mozilla lynx opera galeon curl dillo elinks amaya firefox mozilla-firefox iceweasel google-chrome chromium-browser epiphany

-- 
bash-completion



More information about the Bash-completion-commits mailing list