title: zsh command line history with timestamp
body: <p>I am using zsh 4.3.6. I would like to have the timestamp in the command line history. The <code>history -i</code> always shows the current time:</p>
  
  <pre><code>&gt; history -i
  498  2020-04-27 14:54  history -i
  499  2020-04-27 14:54  cat ~/.zsh_history
  500  2020-04-27 14:54  exit
  </code></pre>
  
  <p>It seems that the timestamp is not stored in the <code>$HISTFILE</code>:</p>
  
  <pre><code>&gt; cat $HISTFILE
  ls
  zsh --version
  history -i
  </code></pre>
  
  <p>How can I have the persistent command line history timestamp?</p>
  
  <p>Thanks.</p>