2016-05-07 21:40:49 +02:00
|
|
|
# if running bash
|
|
|
|
if [ -n "$BASH_VERSION" ]; then
|
|
|
|
|
|
|
|
# source all the things
|
2016-05-07 21:51:24 +02:00
|
|
|
for file in ~/.{bash_aliases,bash_prompt,bashrc,bash_prompt}; do
|
2016-05-07 21:40:49 +02:00
|
|
|
[ -r "$file" ] && [ -f "$file" ] && source "$file"
|
|
|
|
done;
|
|
|
|
unset file;
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
|
|
if [ -d "$HOME/bin" ] ; then
|
|
|
|
PATH="$HOME/bin:$PATH"
|
|
|
|
fi
|