Minimal .zshrc Generator
Build a lean .zshrc without Oh My Zsh: history, completion, simple prompt with git branch and PATH.
—
A lean .zshrc, no framework
zsh has been the default shell on macOS since Catalina and gained ground on Linux by shipping what bash only manages with effort: menu completion, typo correction, path expansion mid-word. The common reaction is installing a large framework straight away — and inheriting hundreds of milliseconds of startup time plus a pile of configuration nobody understands.
The page assembles a file that gets to the point, with the options giving the most per line: history shared across sessions and free of duplicates, the completion system switched on, directory navigation without typing cd, and the typo corrections. All of it is native zsh — no plugin and no plugin manager involved.
It pays to know the order the files are read in, because it explains almost every case of a mysteriously missing environment variable. .zshenv is read on every invocation, scripts included. .zprofile only at login. .zshrc in interactive shells, which is where aliases, prompt and completion belong. And .zlogin after zshrc, at login. An environment variable that must apply inside scripts belongs in zshenv, not zshrc.
Frequently asked questions
Do I really need a framework?
Why does completion take two lines?
Can I reuse my .bashrc?
Related Tools
Bash/Zsh Aliases Generator
Predefined list of useful aliases (ll, la, gs, gd, gco, mkcd, ip) ready to paste into .bashrc or .zshrc.
Shell Argument Escaper
Quote a string safely for bash/sh, wrapping in single quotes and handling embedded quotes.
Cookie Flags Analyzer
Inspect Set-Cookie header and flag missing Secure, HttpOnly, SameSite — with suggested fixes.
HTML Tag Remover
Remove all HTML tags from text, leaving only the pure content without markup. Useful for extracting text from HTML.
Hexdump
View any text as a canonical hexdump (offset / hex bytes / ASCII), like Unix `hexdump -C`. Useful to inspect binary data, encoding and invisible separators. Everything in your browser.
HTML Table Generator
Paste CSV, TSV or semicolon-separated data and instantly generate an HTML table with thead, tbody and live preview.