source ~/.bashrc

每次修改.bashrc后,使用source ~/.bashrc(或者 . ~/.bashrc)就可以立刻加载修改后的设置,使之生效。
原文地址:https://www.cnblogs.com/yibeimingyue/p/11798382.html