From ccda61d928505abfa839a2c048e3b3d7f89d3a9e Mon Sep 17 00:00:00 2001 From: Igor Murzov Date: Wed, 18 Apr 2012 20:33:11 +0400 Subject: [PATCH] _expand: Suppress unwanted bash error messages (Alioth: #313497) --- bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_completion b/bash_completion index 2bd11995..e26df455 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" ) )