zsh:
corrupt history file /home/myusername/.zsh_history
在網上搜的解決方案,記錄一下:
mv .zsh_history .zsh_history_bad
strings .zsh_history_bad > .zsh_history
fc -R .zsh_history
zsh:
corrupt history file /home/myusername/.zsh_history
在網上搜的解決方案,記錄一下:
mv .zsh_history .zsh_history_bad
strings .zsh_history_bad > .zsh_history
fc -R .zsh_history