/etc/zshenv 始终为每个zsh运行。 ~/.zshenv 通常为每个zsh运行(请参见下文)。 /etc/zprofile 运行登录shell。 ~/.zprofile 运行登录shell。 /etc/zshrc 运行交互式外壳。 ~/.zshrc 运行交互式外壳。 /etc/zlogin 运行登录shell。 ~/.zlogin 运行登录shell。 来源:oschina链接:https://my.oschina.net/u/4343506/blog/4257740 标签 zsh