title: How do I translate this `for` loop for the fish shell?
body: <p>I'm translating a script from Z shell to Fish, and I've got this one part I can't figure out how to translate:</p>
  
  <pre><code>  for (( i=0; i &lt; $COLUMNS; i++ )); do
      printf $1
    done
  </code></pre>
  
  <p>The only documentation for <code>for</code> loops I can find in Fish is for <a href="http://ridiculousfish.com/shell/user_doc/html/commands.html#for">this kind</a>.  How would I do this in Fish?</p>