load completion

This commit is contained in:
fatalerrors
2026-05-06 15:35:05 +02:00
parent 9108ee8266
commit d472fb61aa

View File

@@ -255,6 +255,14 @@ shopt -u nullglob
[[ $- == *i* ]] && export INTERACTIVE=1 [[ $- == *i* ]] && export INTERACTIVE=1
if [[ $INTERACTIVE ]]; then 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...) # For compiling (as we often compile with LFS/0linux...)
#Aliases #Aliases
load_alias aliases load_alias aliases