title: /Users/homedir/.zshrc:export:1: not valid in this context: Code.app/Contents/Resources/app/bin
body: <p>After installing Homebrew natively in Mac silicon, I get the following message (macOS Big Sur) when I open zsh terminal.</p>
  <pre><code>/home/dir/.zshrc:export:1: not valid in this context: Code.app/Contents/Resources/app/bin
  </code></pre>
  <p>following the docs from VScode, I did the following:</p>
  <pre><code>cat &lt;&lt; EOF &gt;&gt; ~/.zprofile
  # Add Visual Studio Code (code)
  export PATH=&quot;\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin&quot;
  EOF
  
  my .zshrc file as follows:
  
  export PATH=/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin
  </code></pre>
  <p>when I type code . in my zsh terminal the following message is display.</p>
  <pre><code>zsh: command not found: code
  </code></pre>
  <p>Any help will be appreciated thanks.</p>