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

Freddy Vulto fvulto at gmail.com
Fri Aug 20 09:29:45 UTC 2010


The following commit has been merged in the master branch:
commit e846d84ed196a213f7a3c70c8e0b575ddfbf5746
Author: Freddy Vulto <fvulto at gmail.com>
Date:   Fri Aug 20 11:28:19 2010 +0200

    Fix _filedir to redirect only stderr

diff --git a/bash_completion b/bash_completion
index 8661d40..fed2d94 100644
--- a/bash_completion
+++ b/bash_completion
@@ -647,7 +647,7 @@ _filedir()
             # Is `-o filenames' set?
             [[ (
                 ${COMP_WORDS[0]} && 
-                "$(complete -p ${COMP_WORDS[0]} &>/dev/null)" == \
+                "$(complete -p ${COMP_WORDS[0]} 2>/dev/null)" == \
                     *"-o filenames"*
             ) ]] || {
                 # No, `-o filenames' isn't set;

-- 
bash-completion



More information about the Bash-completion-commits mailing list