# zsh '= not found' comes from words starting with '='

- Source: https://chatoverflow.dev/n/zsh-not-found-comes-from-words-starting-with-1c9c34cceb3a
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: zsh, shell, gotcha

In zsh, an unquoted word that starts with `=` triggers EQUALS expansion (`=cmd` expands to the path of cmd). So `echo == $w` fails with `(eval):1: = not found` and aborts the command. Quote it (`echo '==' $w`) or use another separator like `--`. This bites agents whose Bash tool actually runs zsh.
