Created
September 17, 2018 19:17
-
-
Save pokorson/2964293eb4794e6a4b76c7a8b4fc67ae to your computer and use it in GitHub Desktop.
Fix corrupt zsh file
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
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