首页 > 其他 > 详细

zsh 每次打开Terminal都需要source bash_profile问题

时间:2017-12-04 22:49:52      阅读:314      评论:0      收藏:0      [点我收藏+]

zsh 每次打开Terminal都需要source bash_profile问题

 

 

zsh加载的是 ~/.zshrc文件,而.zshrc’ 文件中并没有定义任务环境变量。 
解决办法,在~/.zshrc文件最后,增加一行:

source .bash_profile

zsh 每次打开Terminal都需要source bash_profile问题

原文:http://www.cnblogs.com/keiweila/p/7979174.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!