Z Shell (zsh)
A powerful shell designed for interactive use and powerful scripting.
Zsh (Z Shell) is an extended version of Bourne shell with many improvements, including features from bash, ksh, and tcsh. It is known for its highly customizable prompts, advanced tab completion, spelling correction, and plugin ecosystem (like Oh My Zsh). It is now the default shell on macOS.
graph LR
Center["Z Shell (zsh)"]:::main
Rel_bash["bash"]:::related -.-> Center
click Rel_bash "/terms/bash"
Rel_typescript["typescript"]:::related -.-> Center
click Rel_typescript "/terms/typescript"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧠 Knowledge Check
🧒 Explain Like I'm 5
If [Bash](/en/terms/bash) is a standard car, Zsh is the same car but with a super-smart GPS, voice control, and self-parking features. It makes driving (typing commands) much easier and more fun with its helpful shortcuts.
🤓 Expert Deep Dive
Zsh features include programmable command-line completion, globbing without calling external commands, and advanced history management. Its theme and plugin architecture (Oh My Zsh, Antigen) make it the most popular choice for modern developer environments.