Zsh
Zsh (Z Shell) is a powerful shell that combines features from bash, ksh, and tcsh. Since macOS Catalina, it’s the default shell on Mac.
Key Features
- Enhanced tab completion
- Shared command history across sessions
- Spelling correction
- Powerful globbing patterns
- Theming and plugin support via frameworks like Oh My Zsh
Configuration Files
| File | Purpose |
|---|---|
~/.zshrc | Main configuration |
~/.zprofile | Login shell config |
~/.zshenv | Always sourced |
Check Zsh Version
zsh --version
echo $ZSH_VERSION
Popular Frameworks
- Oh My Zsh - Community-driven framework with plugins and themes
- Prezto - Lightweight configuration framework
- Zinit - Flexible plugin manager






