https://github.com/ddworken/hishtory
Your shell history: synced, queryable, and in context
http://blog.soton.ac.uk/webteam/2014/01/31/location-independent-software
Blog post by TIDT.