Skip to content

Instantly share code, notes, and snippets.

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