2015-11-17 13:20:58 +00:00
|
|
|
|
##
|
|
|
|
|
## BASH RC - every new shell
|
|
|
|
|
##
|
|
|
|
|
|
2015-11-17 23:57:38 +00:00
|
|
|
|
## 01-29 environment changes (XX-bin-... and XX-env-)
|
|
|
|
|
## 40-69 development settings (XX-dev)
|
|
|
|
|
## 70-89 utilities and applications specific environment changes (XX-app-...)
|
|
|
|
|
## 90-99 shell customisation : colors, prompt, etc.
|
|
|
|
|
## 95-99 miscelanous or low priority : aliases and completion (XX-misc-)
|
|
|
|
|
|
2015-11-17 13:20:58 +00:00
|
|
|
|
if [ -d "$HOME/.bashrc.d" ]; then
|
|
|
|
|
for script in $(find "$HOME/.bashrc.d/" -name '*.sh' |sort -n) ; do
|
|
|
|
|
# echo "Loading `basename \"$script\"`..." # >&2
|
|
|
|
|
. $script
|
|
|
|
|
done
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|