title: Silent which brew?
body: <p>For this function:</p>
  
  <pre><code>homebrewinstall()
  {
      if which brew 2&gt; /dev/null; then
          return 0
      else
          return 1
      fi
  }
  
  homebrewinstall
  </code></pre>
  
  <p>Always prints out the location:</p>
  
  <pre><code>$ /usr/local/bin/brew
  </code></pre>
  
  <p>Is there a way to have this test preform silently?</p>