Hello, I have added the following lines to ./bashrc:

export PATH=/usr/local/bin:/usr/bin:/bin

PATH=$PATH:/usr/local/texlive/2012/bin/i386-linux
INFOPATH=$INFOPATH:/usr/local/texlive/2012/texmf/doc/info
MANPATH=$MANPATH:/usr/local/texlive/2012/texmf/doc/man

so all LaTeX programms are found correctly from the terminal.

Now an Emacs plugin doesn't work correctly and I have to set these paths globally. I think I have to configure /etc/environment. Is this correct? And how?

I have wrecked my system once by messing around with PATH settings so I would be very grateful for a detailed explanation. fool-proof, so to speak.

Thanks in advance.

Reply via email to