title: Why can read -q not be used inside double brackets in zsh?
body: <p>I have the following in my <code>.zshrc</code>:</p>
  <pre><code>#    if read -q; then
  #        echo; zplug install
  #    fi
       [[ read -q; ]] &amp;&amp; echo; zplug install
  </code></pre>
  <p>The bit that is commented out worked, but I would prefer something on one line, so I attempted to use a less verbose form.  Why does it not work?</p>
  <p>I get <code>/Users/brandon/.zshrc:62: parse error: condition expected: read</code>.</p>