29 September 2010

Apply changes in .bashrc immediately

I have just learned that if you change something in your .bashrc file (e.g. add a new environment variable) and you want to apply it immediately to your shell environment just type.

source ~/.bashrc

Et voilà. Your current bash terminal has implemented your changes done in .bashrc

No comments: