Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 916183b8022fa699befa6d24aab126c2 > files > 1

bash-completion-2.8-2.mga7.src.rpm

--- bash-completion-2.7/bash_completion.ORIG	2017-07-17 17:03:10.572165487 +0300
+++ bash-completion-2.7/bash_completion	2017-07-17 17:03:49.378877654 +0300
@@ -2070,33 +2070,27 @@
 {
     set -- "$@"
     local srcfile=$1
     shift
     declare -F $1 &>/dev/null || {
         __load_completion "$srcfile"
     }
     "$@"
 }
 
 # source compat completion directory definitions
 compat_dir=${BASH_COMPLETION_COMPAT_DIR:-/etc/bash_completion.d}
 if [[ -d $compat_dir && -r $compat_dir && -x $compat_dir ]]; then
     for i in "$compat_dir"/*; do
         [[ ${i##*/} != @($_backup_glob|Makefile*|$_blacklist_glob) \
             && -f $i && -r $i ]] && . "$i"
     done
 fi
 unset compat_dir i _blacklist_glob
 
-# source user completion file
-user_completion=${BASH_COMPLETION_USER_FILE:-~/.bash_completion}
-[[ ${BASH_SOURCE[0]} != $user_completion && -r $user_completion ]] \
-    && . $user_completion
-unset user_completion
-
 unset -f have
 unset have
 
 set $BASH_COMPLETION_ORIGINAL_V_VALUE
 unset BASH_COMPLETION_ORIGINAL_V_VALUE
 
 # ex: filetype=sh