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" ) )