Guest User

Untitled

a guest
Jul 18th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. > 在 **~/.bash_profile** 中配置环境变量, 可是每次重启终端后配置的不生效.需要重新执行 : `$source ~/.bash_profile`
  2. > 发现zsh加载的是 **~/.zshrc** 文件,而 **.zshrc** 文件中并没有定义任务环境变量。
  3.  
  4. 解决办法:
  5. ```
  6. # 在~/.zshrc文件最后,增加一行:
  7. source ~/.bash_profile
  8. ```
Add Comment
Please, Sign In to add comment