Languages / Knowledge library
Zsh
completion globbing shell customization and scripting
Why learn Zsh?
Useful for interactive command-line work and shell automation. Zsh-specific expansion and array behavior should not be assumed portable to Bash or POSIX sh.
Where it came from
Zsh is a Unix command shell with scripting and extensive interactive features. Its manual documents options, completion, expansion, and command execution behavior.
Build your understanding
Work through these exercises in order. Try the task before opening a reference.
- Inspect a command's resolved location.
- Quote a filename containing spaces.
- Compare a glob with its quoted literal form.
- Create a completion-aware shell function.
- Test a script in its declared shell rather than a different interpreter.
Documentation and sources
- Official project documentation (zsh.sourceforge.io)
Catalog research notes
- Research snapshot: September 9, 2026. This entry summarizes the linked primary documentation; it does not assert a latest release version.