[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-161-ga614028
Ville Skyttä
ville.skytta at iki.fi
Sun May 1 12:28:46 UTC 2011
The following commit has been merged in the master branch:
commit 8b45b345ce2b97b3821f79791e9fb290b98d3e06
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sun May 1 12:39:13 2011 +0300
_filedir*: Add link to bash-bug discussion about complete -X case sensitivity.
diff --git a/bash_completion b/bash_completion
index 9f70b6f..2b8cf6e 100644
--- a/bash_completion
+++ b/bash_completion
@@ -633,6 +633,7 @@ _filedir()
if [[ "$1" != -d ]]; then
# Munge xspec to contain uppercase version too
+ # http://thread.gmane.org/gmane.comp.shells.bash.bugs/15294/focus=15306
xspec=${1:+"!*.@($1|${1^^})"}
toks+=( $( compgen -f -X "$xspec" -- $quoted ) )
fi
@@ -1722,6 +1723,7 @@ _filedir_xspec()
))
# Munge xspec to contain uppercase version too
+ # http://thread.gmane.org/gmane.comp.shells.bash.bugs/15294/focus=15306
eval xspec="${xspec}"
local matchop=!
if [[ $xspec == !* ]]; then
--
bash-completion
More information about the Bash-completion-commits
mailing list