title: Why do you need to source .zshrc for every new shell in iTerm?
body: <p>I've used Iterm2 with zsh everyday for the past 3 years, but I got a new computer and had to set it up again. The problem is that when I run <code>~/.zshrc</code> it works fine, but I have to do it on every new terminal window I open. Not a good experience.</p>
  
  <p>I noticed that I don't have any <code>bashrc</code>, <code>bash_profile</code>, or <code>profile</code> (dot)files on my new machine.</p>
  
  <p>Here's the code in <code>~/.zshrc</code>:</p>
  
  <pre><code>export ZSH=/Users/healy/.oh-my-zsh
  plugins=(
    git
  )
  ZSH_THEME="agnoster"
  source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
  DEFAULT_USER=healy
  </code></pre>
  
  <p>Again, it works perfectly (and as expected), but only after I run the source command, and that shouldn't be the case.</p>
  
  <p><a href="https://i.stack.imgur.com/yp6bU.png" rel="noreferrer"><img src="https://i.stack.imgur.com/yp6bU.png" alt="enter image description here"></a></p>