title: How to remove an entry from the history in ZSH
body: <p>Let's say I ran a command using a zsh</p>
  
  <p><code>echo "mysecret" &gt; file</code></p>
  
  <p>I can easily print the history including the entry numbers using the command <code>fc -l</code>:</p>
  
  <blockquote>
  <pre><code>1  echo "mysecret" &gt;| file
  </code></pre>
  </blockquote>
  
  <p>But how can I easily delete an entry from the history?</p>
  
  <p>I cannot find a corresponding paragraph in <strong>man zshbuiltins</strong>.</p>