back

by stevekemp·13y ago·view on hn ↗
I hae something like this in my ~/.bashrc file:

    for i in ~/.bash.d/* ~/.local.bash.d/; do
         test -e $i && source $i
    done
Which functionally does what you want, loading everything from a directory. Though it doesn't do version-testing, or actual concatenation.