diff --git a/bash_completion b/bash_completion index 56a0b403..fab16b99 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.190 2002/03/08 19:46:15 ianmacd Exp $ +# $Id: bash_completion,v 1.191 2002/03/08 19:50:24 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -2453,9 +2453,14 @@ if [ ${#list[@]} -gt 0 ]; then eval complete -F _filedir_xspec -o filenames ${list[@]} fi unset list[@] - + +# source completion directory definitions +for i in /etc/bash_completion.d/*; do + [ -r $i ] && . $i +done + # source user completion file [ $BASH_COMPLETION != ~/.bash_completion -a -r ~/.bash_completion ] \ && . ~/.bash_completion unset -f have -unset OS RELEASE have +unset OS RELEASE have i