diff --git a/bash_completion b/bash_completion index cd3113d7..b9be3e25 100644 --- a/bash_completion +++ b/bash_completion @@ -1,6 +1,6 @@ # bash_completion - some programmable completion functions for bash 2.05a # -# $Id: bash_completion,v 1.239 2002/03/31 08:06:52 ianmacd Exp $ +# $Id: bash_completion,v 1.240 2002/04/01 01:12:50 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -1376,7 +1376,7 @@ _scp() fi COMPREPLY=( $( compgen -P "$userhost:" \ -W "`echo $( ssh -o 'Batchmode yes' $userhost \ - compgen -f -- $path )`" ) ) + compgen -f -- $path 2>/dev/null)`")) return 0 fi