dotfiles/.config/bash/tools/automated-deploy.bashrc

11 lines
308 B
Text
Raw Normal View History

#!/usr/bin/env bash
for file in "${HOME}"/.config/bash/tools/*.bashrc; do
if [ "$file" == "${HOME}/.config/bash/tools/automated-deploy.bashrc" ]; then
[[ $DEBUG != "" ]] && echo "avoiding source loop, skipping $file"
else
[[ $DEBUG != "" ]] && echo "sourcing $file"
source "$file"
fi
done