Skip to main content
Command History is a fuzzy-searchable palette of every command you’ve run across your shells (zsh, bash, fish, sh, ksh, tcsh). Pick one and it’s typed into the focused terminal — or copied, or opened in a new window. 100% local and read-only; nothing ever leaves your Mac.

Open it

Press Y from any app.

How it works

1

Focus your terminal

Focus the terminal (or any text field) where you want the command to go.
2

Open the palette

Press Y. Your past commands float up, ranked by frecency — the ones you use most lead before you type a thing.
3

Search and pick

Type to fuzzy-search. Press to act on the selected command, to insert-and-run, or C to copy.
Switch what ↩ does, live. Press T (or click the mode button) to cycle between Insert into the focused terminal, open in a New Terminal, or Copy — remembered between sessions.

Safety

Destructive-looking commands (rm -rf, sudo, dd…) are inserted for review but never auto-run — even with or the “run on return” setting.

Configuring

Settings → Tools → Command History:
  • Shells — choose which shells to search (defaults to every shell that has a history file on your Mac).
  • Start with — seed the search bar with a prefix (e.g. ssh) to turn the palette into a focused launcher for one command family.
  • Only show commands matching — a regex filter; the default (^\S+\s+\S+) keeps only “command + arguments” lines.
  • Hide these commands — a comma-separated exclusion list for throwaway commands (ls, cd, clear…).
  • Run on ↩ — when on, presses Return after inserting (off by default; destructive commands still never auto-run).

Privacy

Entirely local. Your shell history files are read — never written to — and nothing leaves the machine.