# Bourne Again SHell init file.
#
# If running interactively, then:

if [ "$PS1" ]; then
  echo eE  # enable cursor, clear screen

  # ignoreeof=
  notify=
  no_exit_on_failed_exec=
  HISTFILE=~/.dot/bash_his
  HISTSIZE=64
  MAILCHECK=60
  # A few of default aliases.
  alias j='jobs -l'
  alias po=popd
  alias pu=pushd
  if [ -f ~/.dot/bash_ali ]; then
    echo bash_aliases ...
    source ~/.dot/bash_ali
  fi
  if [ -f ~/.dot/bash_env ]; then
    echo bash_environment ...
    source ~/.dot/bash_env
  fi
  if [ -f ~/.dot/bash_ienv ]; then
    echo bash_ienvironment ...
    source ~/.dot/bash_ienv
  fi

  echo E   # clear screen again
  cd u:
  cd ~
  setprompt
else
  if [ -f ~/.dot/bash_env ]; then
    echo bash_environment ...
    source ~/.dot/bash_env
  fi
fi
