Hacker News new | ask | show | jobs
by jcsalterego 3361 days ago
zsh history, from what I've seen a long time ago, can include timestamps, which is why I added a timestamp field in the schema, though it's currently unpopulated: https://github.com/jcsalterego/historian/blob/3bf7158b163d3f...

#soon

2 comments

Bash can as well, though I'm not certain if the OS X version is new enough.

http://wiki.bash-hackers.org/syntax/shellvars#histtimeformat

If you're an oh-my-zsh user there is a handy part of the .zshrc config for enabling and customizing the timestamp format. Dead simple.