

# notify of bg job completion immediately
set -o notify

# disable history expansion so we can use bangs in one-liners
# set +o histexpand

# no mail notifications
# shopt -u mailwarn
unset MAILCHECK

# check for window resizing whenever the prompt is displayed
# shopt -s checkwinsize
# display "user@hostname: dir" in the window title
# if [[ "$TERM" =~ ^xterm ]]
# then
  export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'"${PROMPT_COMMAND:+;}${PROMPT_COMMAND}"
# fi

# load Homebrew's shell completion
  # . "$(brew --prefix)/Library/Contributions/brew_bash_completion.sh"

# make sure ~/bin is the most preferred in PATH
export PATH="$HOME/bin:$PATH"

# load local shell configuration if present
# if [ -f ~/.bashrc.local ]
# then
#    . ~/.bashrc.local
# fi

# disable "default interactive shell is now zsh" message on macOS Catalina
export BASH_SILENCE_DEPRECATION_WARNING=1
