On Tue, Aug 25, 2009 at 3:27 AM, Thomas Bächler<[email protected]> wrote: > This problem has been bugging me for some time: /etc/profile is only read > for login-shells. That is fine, because you launch a login-shell once, then > start your graphical environment from it. Most of the environment is > persisitent so that it will appear in X terminals (which only launch > interactive non-login shells). > > However, if you launch an interactive shell, the following is lost: > * PS1, PS2 > * all aliases > * /etc/bash_completion > > So, I have to set up the bashrc of every user to restore PS1, PS2, my custom > aliases and bash_completion. Is there a solution to this is in something > like a "system-wide bashrc"? The current way is really inconvenient.
Hmm, you could sidestep the issue by forcing your X terminals to launch login shells. I use: urxvt*loginShell: true

