cygwin中修改path变量
时间:2019-10-04 11:02:37
收藏:0
阅读:225
1、在家目录建立 .bash_profile 文件。
2、在该文件添加:
export PATH=/my/path/:$PATH
3、解释,/my/path/为你要添加的目录,为什么不在.bashrc中修改?因为根据规则,.bashrc在.bash_profile中调用,实际系统指执行.bash_profile
原文:https://www.cnblogs.com/litifeng/p/11621451.html
评论(0)