Published
- 1 min read
zsh: courpt historyfile
The solution for this is noted below
zsh: courpt historyfile
Solution
cd ~
mv .zsh_history .zsh_history_bad
strings -eS .zsh_history_bad > .zsh_history
fc -R .zsh_history
Try other methods by searching on the site. That is if this doesn’t work