解决linux 每次登陆时都需要 source ~/.bashrc 的问题
vi ~ /.bash_profile
添加
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ] ; then
source ~/.bashrc
fi
vi ~ /.bash_profile
添加
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ] ; then
source ~/.bashrc
fi