代码之家  ›  专栏  ›  技术社区  ›  Catfish

码头从不装货

  •  0
  • Catfish  · 技术社区  · 5 年前

    我的mac上有我的zsh shell设置,但今天由于某些原因,它从未完全加载。像这样挂了10多分钟了。我试过关闭我的终端应用程序并重新打开,但没有成功。

    如何调试和/或使用bash或其他工具打开新终端?

    enter image description here

    0 回复  |  直到 5 年前
        1
  •  0
  •   Catfish    5 年前
        2
  •  0
  •   am401    5 年前

    试着跑步 zsh -xv 帮助调试并打印出正在进行的操作。它可能表明它冻结在哪里。GitHub上有很多关于oh my zsh运行缓慢和冻结的文章,因为scripts/.profile运行有问题。

    https://bennycwong.github.io/post/speeding-up-oh-my-zsh/ --&关于加快速度的文章