title: How to loop through all the files located under a certain path in zsh?
body: <p>Here's what I have so far:</p>
  
  <pre><code>for file in $(find /path/to/directory -type f); echo $file; done
  </code></pre>
  
  <p>but I get this error:</p>
  
  <pre><code>zsh: parse error near `done'
  </code></pre>