Also judging by your blog you might like something like
PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ; }"'echo $$ $USER \ "$(pwd) $(history 1)" >> ~/.bash_eternal_history'
Also, in the blog post I linked to the link you mention.
Yeah, I now noticed that you already put that link in the blog.