据我所知 你的那条已经在.bash_profile里面声明过 并且你所说的 只能对于当前的shell有用 换了shell后 又要export 你看更好的解决方案是什么 .bashrc 里面行不行?? 请教