Live data from Hacker News

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

github.com

11–20 of 75 posts

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

#11

I'm confused why you need python 3 to install a Go app? > curl https://hishtory.dev/install.py | python3 -

If you'd rather `go install` it, that works too! The advantage of this is that it doesn't require users to have go installed. And if you look at the script, all it does is call an API to determine the latest pre-built version for the current OS and install it.

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

#12

I've been using Resh[0] for the past 6 months or so. A rich and queryable shell history is a massive boost in day-to-day productivity. The syncing described here is a pretty cool feature. [0]: https://github.com/curusarn/resh

In addition, hiSHtory also supports fish for anyone who uses fish!

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

#13
Looks nice! Do all of these shell history replacements completely override native history functionality or just add on to it? (and if I delete something using `hishtory redact` does it delete it from my native shell history too?)

Also just a heads up, I find the demo gif to be unintelligibly fast.

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

#14

Looks nice! Do all of these shell history replacements completely override native history functionality or just add on to it? (and if I delete something using `hishtory redact` does it delete it from my native shell history too?) Also just a heads up, I find the demo gif to be unintelligibly fast.

It just adds to it, your standard shell history is still there and completely unaffected by this tool. And if you prefer using your native shell's control-r you can also do that.

> if I delete something using `hishtory redact` does it delete it from my native shell history too

It does not (though if you think it should, please open an issue and I'm happy to add this!)

> Also just a heads up, I find the demo gif to be unintelligibly fast.

Ah thanks! Updating.

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

#15
I have been using Atuin for sometime, but I must say, though that looks cool, the fuzzy search results out-of-the-box are useless to me.

I used to use something before, probably McFly, that had way better search results.

https://github.com/cantino/mcfly

https://github.com/ellie/atuin

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

#17
I do something similar but much, much simpler with a 4-line `precmd` [1] in my .zshrc file. It just records timestamp, directory and command to a file per day. Then you can use standard grep & standard tools to find things.

[1] https://til.marcuse.info/bash/bash-infinite-history.html

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

#18

I have been using Atuin for sometime, but I must say, though that looks cool, the fuzzy search results out-of-the-box are useless to me. I used to use something before, probably McFly, that had way better search results. https://github.com/cantino/mcfly https://github.com/ellie/atuin

[deleted]

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

#19

I do something similar but much, much simpler with a 4-line `precmd` [1] in my .zshrc file. It just records timestamp, directory and command to a file per day. Then you can use standard grep & standard tools to find things. [1] https://til.marcuse.info/bash/bash-infinite-history.html

[deleted]
Post reply on HN