diff --git a/profile.sh b/profile.sh index 34141d9..f10b13e 100644 --- a/profile.sh +++ b/profile.sh @@ -255,6 +255,14 @@ shopt -u nullglob [[ $- == *i* ]] && export INTERACTIVE=1 if [[ $INTERACTIVE ]]; then + # Load custom bash completions + shopt -s nullglob + for _compl in "$MYPATH/profile.d/bash-completion/"*.sh; do + [[ -f "$_compl" && -r "$_compl" ]] && . "$_compl" + done + unset _compl + shopt -u nullglob + # For compiling (as we often compile with LFS/0linux...) #Aliases load_alias aliases