Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

lore

A command library that lives in your shell. Press ctrl+g, type a few letters of what you are trying to do, and the command lands in your prompt ready to run.

The problem

The commands worth keeping are the ones you write once every few months: the kubectl invocation that finds the pod that keeps restarting, the openssl line that prints a certificate’s expiry, the git incantation that finds which commit deleted a function. Shell history keeps them for a while and then loses them between machines, between sessions, or behind four hundred cd .. entries.

History is a log. What you want is a library: curated, described in words you would actually search for, versioned in git, and open one keystroke away.

Where to go next