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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
