aboutsummaryrefslogtreecommitdiff
path: root/.bash_profile
blob: b0e2ed87f84f656dc1d4c260422eceb2f112689e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# vi:syntax=sh
#
# .bash_profile
#

if [[ -f ~/.files ]]; then
	source ~/.files
else
	DOTFILEBASE="/home/jonas/dotfiles"
fi

source "$DOTFILEBASE/config.default"
if [ -f "$HOME/.files.config" ]; then
	source "$HOME/.files.config"
fi

for f in $DOTFILEBASE/bash/*.profile ; do
	source $f
done

if [[ -f ~/.bashrc ]]; then
	source ~/.bashrc
fi