My .bash_profile as currently configured on Yosemite (10.10.2). It also still works in Snow Leopard (10.6.8).
PS1='\D{%Y-%m%d-%H%M-%S %z} \w \u\$ '
export HISTFILESIZE=99999
export HISTSIZE=9999
export HISTCONTROL='ignoreboth:erasedups'
export PROMPT_COMMAND='history -n; history -w; history -c; history -r'
# check current working directory first
export PATH="${PATH}::"
# check my local Applications directory
export PATH="${PATH}:${HOME}/Applications"
My .bash_profile as currently configured on High Sierra (10.13).
PS1='\D{%Y-%m%d-%H%M-%S} \h \w \u\$ '
export HISTFILESIZE=99999
export HISTSIZE=9999
export HISTCONTROL='ignoreboth:erasedups'
export PROMPT_COMMAND='history -n; history -w; history -c; history -r'