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

System-wide files should already do it, maybe with more directories.

> 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?

You probably don't have to do this, you might add a file to
/etc/profile.d/ setting this variable (there should be existing similar
files there).

I have ~/.bash_profile setting the variables I need and Emacs can use
them.

Attachment: pgphcxSBXw5QG.pgp
Description: PGP signature

Reply via email to