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

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


The following commit has been merged in the master branch:
commit f66e87ffb7a9e8f587c37cf36951cc6a4f269e9e
Author: Austin English <austinenglish at gmail.com>
Date:   Thu Mar 11 20:25:48 2010 -0600

    Make lookup of wine file completions case insensitive.

diff --git a/CHANGES b/CHANGES
index 0ec9e06..dee82cf 100644
--- a/CHANGES
+++ b/CHANGES
@@ -90,6 +90,9 @@ bash-completion (2.x)
   [ Neville Gao ]
   * Fix mount completion error "bash: [: too many arguments" (Alioth #312381).
 
+  [ Austin English ]
+  * Make lookup of wine file completions case insensitive.
+
  -- David Paleino <d.paleino at gmail.com>  Sun, 11 Oct 2009 11:11:57 +0200
 
 bash-completion (1.1)
diff --git a/bash_completion b/bash_completion
index c6396b0..33f9575 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 '!*.@(exe|EXE|com|COM|scr|SCR|exe.so)' wine
+complete -f -X '!*.@([eE][xX][eE]|[cC][oO][mM]|[sS][cC][rR]|[eE][xX][eE].[sS][oO])' 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