Created
December 22, 2023 14:57
-
-
Save savio777/0ee02a964bfd3da19d34b2be400867e9 to your computer and use it in GitHub Desktop.
zsh: corrupt history
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
mv .zsh_history .zsh_history_old | |
strings .zsh_history_old > .zsh_history | |
fc -R .zsh_history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment