I want to run a shell script (define some environment variables) at the start of every new shell (globally, not for several users).
So I placed my script into the directory /etc/profile.d/
, but that works only for login shells. Is there a better place for my script?