Skip to content

Relaunch

Mod by stevetost

Restarts the programs that were running in each terminal after a reboot or herdr-core restart.

Sessions & history0 starsupdated 3 days ago
Screenshot of Relaunch

What it does

After a reboot or herdr-core restart, terminals that come back as bare shells get their earlier programs typed back in, such as lazygit, nvim or htop, with the same command line and folder. A small ↻ counter in the tab bar row shows how many terminals are kept; clicking it shows a toast with details.

The work runs in each terminal's own bash or zsh shell, so it also works while Herdr is closed. Add the block to a layout by hand. Shell integration is needed for terminals that record their programs; the counter also covers terminals without it.

After a reboot or a herdr-core restart, when terminals come back as bare shells, Relaunch brings back the programs that were running in them (lazygit, nvim, htop, ...), with the same command line, in the same folder. The work happens in each terminal's own shell (bash or zsh), so it holds in every layout and while the app is closed. A small ↻ counter in the window's chrome counts what is kept, and covers terminals whose shell has no integration.

From the author's RECIPE.md

Good for

Needs

bash or zsh shell

Similar mods

Same job, overlapping tags and integrations.

All of Sessions & history

Revive

by dmazlum

Restarts Claude Code, Codex, pi and other agents in their pane after a reboot, with the same session.

Sessions & historyKeyboard shortcuts28yesterday

Agent Restart

by hmu332233

Restarts the focused Claude Code or Codex agent and resumes the same conversation in its terminal.

Sessions & history3today

Revive

by jchen0824

Restores coding agent sessions lost to a reboot, in the same pane with the same flags.

Sessions & historyKeyboard shortcuts2today

Reopen closed tab

by mustafaTokmak

Brings back the last closed tab with its folders, names and agent sessions.

Sessions & historyKeyboard shortcuts21 mo ago

herdr-claude-resume

by matthewjfberry

Reopens each Claude Code session in its terminal after a reboot, logout or core restart.

Sessions & history11 mo ago

Revive for Windows

by RAF1337

Restores Claude Code, Codex and pi sessions in PowerShell 7 panes after a reboot or crash.

Sessions & historyKeyboard shortcuts09 days ago

Claude Resume

by iosif2

Restarts the focused agent in place on the same session, after a two-press key.

Sessions & historyKeyboard shortcuts025 days ago

Handoff

by calebcauthon

Forks the focused Claude Code conversation into another pane or a split on the right.

Sessions & historyKeyboard shortcuts01 mo ago