Click to See Complete Forum and Search --> : Why do I have to keep typing export MOZILLA_FIVE_HOME=~/.mozilla/ ?


carbon-12
08-14-2004, 11:10 PM
OK im trying to get monodevelop to work.

josh@PhantomAMD:~$ monodevelop
Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory

So I....

josh@PhantomAMD:~$ export MOZILLA_FIVE_HOME=/home/josh/.mozilla/
josh@PhantomAMD:~$ monodevelop

and it works!

The problem is, if I close the terminal and try starting it again in another terminal, I have to retype my export.

Is there a way to make bash remember this?

madcompnerd
08-14-2004, 11:23 PM
Put it in your ~/.bashrc file.

carbon-12
08-14-2004, 11:30 PM
Originally posted by madcompnerd
Put it in your ~/.bashrc file.

Hmmm.....well it works as root but user still gets that error.

knute
08-15-2004, 12:29 AM
go into ~/.bash_profile and uncomment the lines pertaining to reading the ~/.bashrc file.

There are 3 of them.

carbon-12
08-15-2004, 02:27 AM
Thanks guys, that fixed it. :)