]>
Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .bash_completion
   2 # user bash completion definitions 
   4 : ${USER_BASH_COMPLETION_DIR:=~/.bash_completion.d} 
   6 test -n "$USER_BASH_COMPLETION_DIR" && { 
   7   # source completion directory definitions 
   8   if [ -d $USER_BASH_COMPLETION_DIR -a -r $USER_BASH_COMPLETION_DIR -a \
 
   9        -x $USER_BASH_COMPLETION_DIR ]; then 
  10     for i 
in $USER_BASH_COMPLETION_DIR/*; do 
  11       [[ ${i##*/} != @
(*~
|*.bak
|*.swp
|\
#*\#|*.dpkg*|.rpm*) ]] && 
  12       [ \
( -f $i -o -h $i \
) -a -r $i ] && . 
$i