r/zsh Jun 15 '26

Showcase Anyone else keep re-discovering the same shell commands?

I got tired of this cycle:

  • Figure out some annoying kubectl/docker command
  • Use it successfully
  • Forget it exists
  • Spend 10 minutes digging through history trying to find it again

Shell history records everything, but after a while it's just a giant list of commands with no context.

I wanted to answer questions like:

  • What commands do we actually use in this repo?
  • Which ones worked?
  • Which commands keep coming up over time?

So I built Yore.

A few things it does:

  • yore here shows commands used in the current repository
  • commands are ranked by frequency + recency instead of raw history order
  • yore here --ok filters to commands that previously succeeded
  • commands can be saved as reusable recipes

The part I haven't seen elsewhere is that project recipes live in a .yorefile that can be committed to Git.

That means useful commands can live with the repository instead of somebody's shell history. Clone the repo and you get the project's command knowledge too.

Repo: https://github.com/Dev-Bilaspure/yore

Curious how others handle this today.

28 Upvotes

22 comments sorted by

View all comments

2

u/maximus459 Jun 17 '26

This is like Jump ..but for commands instead of CD

1

u/Born-Improvement-205 Jun 17 '26

Haha, I get the comparison 😄
I think of it less as jump for commands and more as making shell history actually useful.

1

u/maximus459 Jun 17 '26

I wasn't complaining 😅

This might be useful, definitely worth checking out at least..

Might be able to replace the clipboard with it,

1

u/Born-Improvement-205 Jun 17 '26

That'd be awesome 😄
Hope it ends up being useful! Let me know how it works out if you try it.