Live data from Hacker News

Show HN: HiSHtory: Your shell history in context, synced, and queryable

github.com

1–10 of 75 posts

Show HN: HiSHtory: Your shell history in context, synced, and queryable

#1
hiSHtory is a better shell history. It stores your shell history in context (what directory you ran the command it, 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 Control-R and 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.

Show HN: HiSHtory: Your shell history in context, synced, and queryable
github.com

Re: Show HN: HiSHtory: Your shell history in context, synced, and queryable

#8
post #2

How does this compare to Atuin [0]? [0]: https://atuin.sh/

Ah, I hadn't come across Atuin before! They're pretty similar, but I think one significant advantage of hiSHtory is the "Custom Columns" support where you can populate custom columns with the output of an arbitrary shell script. For example, you can use this to collect the current git branch as an additional column.

Re: Show HN: HiSHtory: Your shell history in context, synced, and queryable

#9
post #5

directory context is quite an argument, I assume I can jump back into the directory with the line both - not just get the cli+args? (Btw I read the util name in Sean Connerys voice)

Yup exactly! And you can even collect other custom metadata to make it easier to jump write back to where you were.
Post reply on HN