diff --git a/dotfiles/.config/bash/profile b/dotfiles/.config/bash/profile index e0842f5..cb81693 100644 --- a/dotfiles/.config/bash/profile +++ b/dotfiles/.config/bash/profile @@ -361,13 +361,11 @@ stty -ixon # disable ctrl-s and ctrl-q _update_colors "${BACKGROUND:-dark}" # Enable available completion helpers -if [ -d "$LOCAL_PREFIX/etc/bash_completion.d" ]; then - for completion in "$LOCAL_PREFIX/etc/bash_completion.d"/*; do - # shellcheck disable=SC1090 - source "$completion" - done - unset completion -fi +while read -r d; do [ -d "$d" ] && for f in "$d"/*; do . "$f"; done; done <