We are editing ~/.bashrc with command:
/home/user> sudo gedit .bashrc
If you set a variable in ~/.bashrc, this file has to be sourced again; typically by logging in again.
If you do not wish to permanently set this variable, set it in the terminal, without editing ~/.bashrc.
In any case, don't forget to use