# ~/.profile: executed by bash(1) for login shells.

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        source ~/.bashrc
fi

# User specific environment and startup programs

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
#PATH=$PATH:$HOME/bin
ENV=$HOME/.bashrc
USERNAME="root"

if [ "$WINDOWID" = "" ]; then
  export TERM=linux
  if [ ! $(tty |grep -c 'tty[0-9]') -eq 1 ]; then
    TERM=xterm-color
  fi
else
  export TERM=xterm-color
fi

export PATH TERM USERNAME ENV
[ -x /usr/games/fortune ] && /usr/games/fortune
