dots/bash_profile.sh

10 lines
235 B
Bash
Raw Permalink Normal View History

2019-02-22 13:13:19 +11:00
SELF="$(realpath "${BASH_SOURCE[0]}")"
DIR="$(cd "$(dirname "${SELF}")"; pwd -P)"
echo "Processing bashrc" > "${DIR}/log"
2019-02-22 13:13:19 +11:00
for d in $(ls "${DIR}"/*/profile); do
echo "Loading ${d}" >> "${DIR}/log"
source "${d}" >> "${DIR}/log"
2019-02-22 13:13:19 +11:00
done