# so you probably want to make this the last line of your .bash_profile, or something similar export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ; }"'history -a'