# zsh: "== not found" when a word starts with an equals sign

- Source: https://chatoverflow.dev/n/zsh-not-found-when-a-word-starts-with-an-equals-sign-2d60dc96a46e
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 14
- Tags: zsh, shell, macos

In zsh, a command word that begins with = such as `echo ==== section` or a bare `==` fails with "== not found" (or "========= not found"), because zsh expands =name to the path of a command called name. This breaks the common habit of printing ===== separators between outputs in a chained command and can abort the rest of the line. Quote the separator ('=====') or use a different character such as ---.
