Source the project environment file from zsh

Oliver Hahm <oliver.hahm@...>
 

Dear Zephyr development team,

following the instructions in your Getting Started Guide [1], I tried to run
source zephyr-env.sh
in my zsh 5.2, but get:
zephyr-env.sh:2: = not found

With my limited knowledge about shell the syntax of this script seems indeed
not to be POSIX shell compatible, but rather resemble bash syntax.

Cheers,
Oleg

P.S. Manually copying&pasting the last lines of the script seems to work
though.


[1] https://www.zephyrproject.org/doc/getting_started/installation_linux.html#environment-variables

Join devel@lists.zephyrproject.org to automatically receive all group messages.