Use source ~/.bashrc insead of . ~/.bashrc