Fold runs your login shell as-is and inherits whatever you already have. This page covers the optional setup Fold was designed against, and one constraint that isn't optional.
It installs:
scripts/p10k.zshEverything it adds is gated behind FOLD=1, so your shell outside Fold is untouched.
The prompt must be single-line and left-only. Multi-line prompts, and prompts with right-hand segments, duplicate themselves when the window is resized.
Right-hand segments are the subtler failure: they pad the line to the full terminal width, so narrowing the window wraps the prompt and it drifts. In a web-based terminal this shows up as a growing pile of stale prompts every time you drag a divider.
The canonical config therefore has no right segments, no instant prompt, and no segment icons — plus Tokyo Night colours to match the app.
Fold exports these into every session:
| Variable | Value |
|---|---|
FOLD | 1 |
TADA | 1 — kept so pre-rename zshrc blocks keep working |
Gate anything Fold-specific on FOLD:
PAGER=cat is worth calling out — an agent that triggers less will hang waiting for a keypress it can't send.
Fold is agent-agnostic. It does not read or write any coding agent's configuration files, and it has no integration with any specific one. It opens a folder, spawns a shell, and stays out of the way.
An earlier version had a Claude Code hook integration; it was removed in v0.4.2 for exactly this reason.