20 lines
409 B
Bash
20 lines
409 B
Bash
# if running bash
|
|
if [ -n "$BASH_VERSION" ]; then
|
|
# include .bashrc if it exists
|
|
if [ -f "$HOME/.bashrc" ]; then
|
|
. "$HOME/.bashrc"
|
|
fi
|
|
fi
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
if [ -d "$HOME/bin" ] ; then
|
|
PATH="$HOME/bin:$PATH"
|
|
fi
|
|
|
|
if [ -e /usr/share/terminfo/x/xterm-256color ]; then
|
|
export TERM='xterm-256color'
|
|
else
|
|
export TERM='xterm-color'
|
|
fi
|
|
|