Sometimes zsh interprets variable assignments as other commands and tries to execute them
Issue
Running a script with zsh containing variable assignments can result in 'VARIABLE=VALUE' being considered as a single command. As a result, the script would terminate with a 'command not found' error message.
Environment
- Red Hat Enterprise Linux 5
- zsh-4.2.6-5.el5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.