diff --git a/bash_completion b/bash_completion index 3fe35603..7bfe6b10 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.194 2002/03/11 18:38:17 ianmacd Exp $ +# $Id: bash_completion,v 1.195 2002/03/11 19:36:44 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -18,7 +18,7 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# RELEASE: 20020306 +# RELEASE: 20020311 [ -n "$DEBUG" ] && set -v || set +v @@ -2566,7 +2566,8 @@ fi unset list[@] # source completion directory definitions -if [ -r $BASH_COMPLETION_DIR -a -x $BASH_COMPLETION_DIR ]; then +if [ -d $BASH_COMPLETION_DIR -a -r $BASH_COMPLETION_DIR -a \ + -x $BASH_COMPLETION_DIR ]; then for i in $BASH_COMPLETION_DIR/*; do [ -r $i ] && . $i done