title: PATH variable in .zshenv or .zshrc
body: <p>My setup is zsh 5.0.5 in arch linux</p>
  
  <p>I have set the PATH variable as below in .zshenv</p>
  
  <pre><code>typeset -U path
  path=(~/bin $path)
  DW=$HOME/Downloads
  </code></pre>
  
  <p>but it didn't work. print $PATH shows only</p>
  
  <pre><code>/usr/local/bin:/usr/bin:/usr/bin/vendor_perl:/usr/bin/core_perl
  </code></pre>
  
  <p>.zshenv was read, because I could see DW variable is set. Only PATH variable isn't set. And what I don't understand is, after rename the .zshenv to .zshrc, PATH variable just works as intended. </p>
  
  <p>Need any special treatment setting environment variables in .zshenv? </p>