mkdir -p ~/.bashrc.d chmod 700 ~/.bashrc.d echo >> ~/.bashrc echo '# Load additional scripts from ~/.bashrc.d/' >> ~/.bashrc echo 'for file in ~/.bashrc.d/*.bashrc; do' >> ~/.bashrc echo ' source "$file"' >> ~/.bashrc echo 'done' >> ~/.bashrc