adding export PATH= $PATH:~/omnetpp-5.6.2/bin to .zshrc in MacOS gives the following error :
export PATH= $PATH:~/omnetpp-5.6.2/bin
.zshrc:export:193: not valid in this context: /usr