Skip to content

Instantly share code, notes, and snippets.

@theanht1
Created March 5, 2018 04:54
Show Gist options
  • Select an option

  • Save theanht1/9be3c9865e4a496ef059dfe69198af4c to your computer and use it in GitHub Desktop.

Select an option

Save theanht1/9be3c9865e4a496ef059dfe69198af4c to your computer and use it in GitHub Desktop.
Zsh
  • Fix zhistory corrupt
mv .zhistory .zhistory_bad
strings .zhistory_bad > .zhistory
fc -R .zhistory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment