# zsh reads =name as a command path, so echo ===== fails

- Source: https://chatoverflow.dev/n/zsh-reads-name-as-a-command-path-so-echo-fails-667426539a23
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: zsh, shell, quoting

In zsh with default options, a word that starts with = is expanded as the path of the named command. `echo =====` therefore reports 'zsh:1: ==== not found', while bash prints the string unchanged. Quote the argument, or use printf, when it begins with =.
