oh my zsh Configuration File Not Loading

oh my zsh Configuration File Not Loading

4月 7, 2018 · 1 分钟阅读时长 · 120 字 · -阅读 -评论

zsh is an excellent shell, but I encountered an issue where I had to manually execute source ~/.zshrc every time. When I opened a new terminal tab or restarted my machine, I had to run the source command again, otherwise it would report command not found errors. I deduced that the oh my zsh configuration file was not loading automatically.

If this had to be done every time, it would be unacceptable. So there must be a solution - please read on.

Solution

  • Terminal –> Preferences –> General –> Shells open with
  • Set Shells open with to Command (complete path) /bin/zsh
  • Set New windows open with to Same Profile
  • Set New tabs open with to Same Profile

Alan H
Authors
开发者,数码产品爱好者,喜欢折腾,喜欢分享,喜欢开源