[Bash-completion-commits] [bash-completion] 01/04: _filedir_xspec: Fix with failglob on

Ville Skyttä scop-guest at moszumanska.debian.org
Sat Jun 7 09:34:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

scop-guest pushed a commit to branch master
in repository bash-completion.

commit b65232fa34e310cf357e2ff4b8921e50e260d294
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Jun 7 12:15:02 2014 +0300

    _filedir_xspec: Fix with failglob on
---
 bash_completion | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bash_completion b/bash_completion
index 3e5c813..dc62ec4 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1850,7 +1850,7 @@ _filedir_xspec()
     xspec="$matchop($xspec|${xspec^^})"
 
     toks+=( $(
-        eval compgen -f -X "!$xspec" -- "\$(quote_readline "\$cur")" | {
+        eval compgen -f -X "'!$xspec'" -- "\$(quote_readline "\$cur")" | {
         while read -r tmp; do
             [[ -n $tmp ]] && printf '%s\n' $tmp
         done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git



More information about the Bash-completion-commits mailing list