title: oh-my-zsh slow, but only for certain Git repo
body: <p>I recently started using Zsh and it's awesome. Unfortunately, for the project I consider my "main" project, everything is slow. What I mean is that every time I run a command - <code>ls</code>, for example - there's about a five-second delay between the time the command is executed and the time I can use the terminal again.</p>
  
  <p>What could be different about this one repo that makes Zsh so slow? I assume it's a Zsh-specific thing because there was no problem before I started using Zsh. I tried doing a <code>git clean</code> but it didn't make any noticeable difference.</p>
  
  <p>I'm on Mac OS X if that matters.</p>
  
  <p><strong>Update:</strong> Turns out this line of my <code>.zshenv</code> is what was making it slow:</p>
  
  <pre><code>[[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; . "$HOME/.rvm/scripts/rvm" # Load RVM function
  </code></pre>
  
  <p>If I comment that line, it goes from taking about 3 seconds to taking about 1 second. Unfortunately, I need that line, since many of my projects use RVM. I don't know what to do now.</p>
  
  <p><strong>Update 2</strong>: this seems to be specifically an oh-my-zsh thing. If I don't load <code>~/.oh-my-zsh/oh-my-zsh.sh</code>, I don't have a problem.</p>