forked from ahurac/dotfiles
11 lines
151 B
Bash
11 lines
151 B
Bash
|
sourcefiles() {
|
||
|
if [ -d "$1" ]; then
|
||
|
for i in "${1}/"*; do
|
||
|
. "$1"
|
||
|
done
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
sourcefiles /usr/local/etc/sh/shrc.d
|
||
|
|