[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-164-gccda61d

Igor Murzov e-mail at date.by
Wed Apr 18 16:49:07 UTC 2012


The following commit has been merged in the master branch:
commit ccda61d928505abfa839a2c048e3b3d7f89d3a9e
Author: Igor Murzov <e-mail at date.by>
Date:   Wed Apr 18 20:33:11 2012 +0400

    _expand: Suppress unwanted bash error messages (Alioth: #313497)

diff --git a/bash_completion b/bash_completion
index 2bd1199..e26df45 100644
--- a/bash_completion
+++ b/bash_completion
@@ -986,7 +986,7 @@ _expand()
     # a tilde is fed to commands and ending up quoted instead of expanded.
 
     if [[ "$cur" == \~*/* ]]; then
-        eval cur=$cur
+        eval cur=$cur 2>/dev/null
     elif [[ "$cur" == \~* ]]; then
         cur=${cur#\~}
         COMPREPLY=( $( compgen -P '~' -u "$cur" ) )

-- 
bash-completion



More information about the Bash-completion-commits mailing list