LoginSignup
0
0

More than 3 years have passed since last update.

.zsh-history がこわれたというエラーの対処法

Last updated at Posted at 2019-06-13

zshでコマンドを入力するたびに、下記のようにエラーメッセージが出力されるようになった

zsh: corrupt history file /home/xxx/.zsh_history

原因

.zsh_historyで@が連続した行が生成されて解読不能になっている

対処法

.zsh_historyの@が連続した行を削除すればOK.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0