{"repo":"ddworken/hishtory","free":true,"listed":false,"github":"https://github.com/ddworken/hishtory","clone":"git clone https://github.com/ddworken/hishtory.git","description":"Your shell history: synced, queryable, and in context","language":"Go","stars":3107,"topics":["bash","cli","history","zsh","fish","shell","golang"],"license":"MIT","category":"cli-tools","readme_excerpt":"hiSHtory: Better Shell History hishtory is a better shell history. It stores your shell history in context (what directory you ran the command in, whether it succeeded or failed, how long it took, etc). This is all stored locally and end-to-end encrypted for syncing to to all your other computers. All of this is easily queryable via the hishtory CLI. This means from your laptop, you can easily find that complex bash pipeline you wrote on your server, and see the context in which you ran it. Getting Started To install hishtory on your first machine: At this point, hishtory is already managing your shell history (for bash, zsh, and fish!). Give it a try by pressing Control+R and see below for more details on the advanced search features. Then to install hishtory on your other computers, you need your secret key. Get this by running hishtory status . Once you have it, you follow similar steps to install hiSHtory on your other computers: Now if you press Control+R on first computer, you can automatically see the commands you've run on all your other computers! Features Querying You can then query hiSHtory by pressing Control+R in your terminal. Search for a command, select it via Enter , and then have it ready to execute in your terminal's buffer. Or just hit Escape if you don't want to execute it after all. Both support the same query format, see the below annotated queries: Query Explanation --- --- psql Find all commands containing psql psql db.example.com Find all commands co","default_branch":null,"files":null,"tree":[],"storefront":"/r/ddworken","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ddworken/hishtory/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}