Created
July 18, 2017 08:41
-
-
Save jsam/24e3763fe4912ddb5c3a0fe411002f21 to your computer and use it in GitHub Desktop.
fix corrupt zsh_history
This file contains hidden or 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
mv .zsh_history .zsh_history_bad | |
strings .zsh_history_bad > .zsh_history | |
fc -R .zsh_history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment