On Tue, Jan 31, 2012 at 18:23, Dennis Williamson
<dennistwilliam...@gmail.com> wrote:
> I have the same use case. Try one of my logging functions at
> http://stackoverflow.com/945288/26428

That link doesn't work for me, but I think you meant this question:
<http://stackoverflow.com/questions/945288/saving-current-directory-to-bash-history>

I personally use this:

export HISTTIMEFORMAT="(%F %T %Z) "
export PROMPT_COMMAND="history 1 >> $HOME/.history-timestamp;"

works great so far.

-- 
Suvayu

Open source is the future. It sets us free.

Reply via email to