Hacker GitHub

← All repos

ddworken/hishtory

View on GitHub ↗ ★ 3,132 Go

Your shell history: synced, queryable, and in context

14 mentions on Hacker News by 5 people: 3 stories, 11 comments · first 2022-09-24 · latest 2025-02-10

Mentions per year 14 mentions · busiest year 2022 (11)
20082026
  1. I actually made a CLI tool ( https://github.com/ddworken/hishtory ) that automatically binds to Control+R to support both history searching and AI queries (by prefixing queries with `?`). Here's the prompt engineering I did:…
    comment by ddworken · 2025-02-10 · in Some terminal frustrations
  2. …arbitrary metadata with each command, like the git remote) and an AI shell command generator. [0]: https://github.com/ddworken/hishtory
    comment by ddworken · 2024-01-12 · in Fly through your shell history
  3. If you're more used to ctrl+r, you could try hiSHtory ( https://github.com/ddworken/hishtory )
  4. …in something more actively maintained, and with cross-machine syncing, two recent alternatives are: * github.com/ddworken/hishtory * github.com/ellie/atuin Disclaimer: I'm the maintainer of the first one.
  5. …of a missing comment in the bash script (that I didn't notice because I generally use zsh). See https://github.com/ddworken/hishtory/commit/72ff95ab8b23c3be... and if you run `hishtory update` it should be all fixed.
  6. See https://github.com/ddworken/hishtory/blob/master/backend/web... Also, Github pro tip: Press `t` when on any github repo to bring up fuzzy matching that can be used to easily find any specific file.
  7. Actually the install script is in the repo! See https://github.com/ddworken/hishtory/tree/master/backend/web...
  8. I also did not like that it's hidden away in the code. It is easy to self-host it though. https://github.com/ddworken/hishtory/issues/7 I also did not enjoy that the install script is not in the repo.
  9. …interesting to me is how this tool hooks into the shell to record commands. This can be found here: https://github.com/ddworken/hishtory/tree/master/client/lib/...
  10. See https://github.com/ddworken/hishtory/issues/6 for info on how to disable control-R and how to uninstall. And sorry about this, I agree that a cleaner way to uninstall is needed and will get this implemented soon!
  11. See https://github.com/ddworken/hishtory/issues/4 This isn't supported quite yet, but is the next item on the road map.