本文共 253 字,大约阅读时间需要 1 分钟。
错误信息:
zsh: corrupt history file /home/myusername/.zsh_history
解决办法:
mv .zsh_history .zsh_history_badstrings .zsh_history_bad > .zsh_historyfc -R .zsh_history
参考:
https://superuser.com/questions/957913/how-to-fix-and-recover-a-corrupt-history-file-in-zsh转载地址:http://phmli.baihongyu.com/