title: How to empty a file in fish?
body: <p>In <strong>bash</strong> shell scripting, I would typically run <code>:&gt; file</code> to empty a file.</p>
  
  <p>Now using fish, things are slightly different and the above command doesn't work.</p>
  
  <p>What is fish equivalent?</p>