zsh shell 崩溃,终端无法启动

mac那些事

报错信息如下:

Last login: Tue Jul 24 14:59:52 on ttys000
dyld: Library not loaded: /usr/local/opt/gdbm/lib/libgdbm.4.dylib
  Referenced from: /usr/local/bin/zsh
  Reason: image not found

[进程已完成]

各种方法均无法启用终端

解决方法: 启用mac安全模式,重新装zsh

强烈提示:重装shell之前一定记得备份配置!

发表于 2018.07.24