16 lines
343 B
Bash
16 lines
343 B
Bash
# if running bash
|
|
if [ -n "$BASH_VERSION" ]; then
|
|
|
|
# source all the things
|
|
for file in ~/.{bashrc,bash_prompt,bash_aliases}; do
|
|
[ -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
|