corrupt history file /home/justicebringer/.zsh_history code example
Example: corrupt history file /home/justicebringer/.zsh_history
cd ~
mv .zsh_history .zsh_history_bad
strings -eS .zsh_history_bad > .zsh_history
fc -R .zsh_history
cd ~
mv .zsh_history .zsh_history_bad
strings -eS .zsh_history_bad > .zsh_history
fc -R .zsh_history