Closed vmax closed 2 years ago
$HISTFILE
$ cat ~/.zsh_history : 1641675734:0;ls -la : 1641675848:0;cat ~/.zsh_history
^R
mcfly
ls -la
F2
ESC
Expected result (zsh-style history preserved):
$ cat ~/.zsh_history : 1641675848:0;cat ~/.zsh_history
Actual result (bash-style history is written back):
$ cat ~/.zsh_history cat ~/.zsh_history
Next command executed (uname -a in the example) would be written in zsh style (with timestamp) again:
uname -a
$ uname -a ... $ cat ~/.zsh_history cat ~/.zsh_history : 1641676115:0;uname -a
$HISTFILE
contains these entries:^R
to activatemcfly
, selectls -la
entry, pressF2
to delete it and pressESC
to exit out ofmcfly
Expected result (zsh-style history preserved):
Actual result (bash-style history is written back):
Next command executed (
uname -a
in the example) would be written in zsh style (with timestamp) again: