Bash History Punchcard

My friend Drew turned me on to a small hack to my history file that allows me to see a github style punchcard of when I am most active. Checkout Bash History Punchcard on github and make sure to add

export HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S - '

to your bash config to make it work. My punch card from my work machine is pasted below. I wish I had upped my bash history when I started since I only have what I’ve done going back to the end of December on here. No matter what, it’s cool to see when I’ve been doing the most work.

Join the Conversation

2 Comments

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.