#!/usr/bin/env bash # ~/.bashrc: executed by bash(1) for non-login shells. # If not running interactively, don't do anything case $- in *i*) ;; *) return ;; esac chmod 700 ~/.bashrc.d chmod 600 ~/.bashrc ~/.bashrc.d/* for file in ~/.bashrc.d/*.bashrc; do source "${file}" done