[Bug 60079] Re: "shopt" xsession error upon login

Noah Slater nslater at gmail.com
Wed Jan 31 12:13:56 UTC 2007

No, my file of bash specific start up commands is in /etc/bash.bashrc
which is sourced from /etc/profile

You cannot put the hash bang at the top of a sourced file.

I do not think I am alone in having bash specific stuff in these files
which is why there are a few other cases of people complaining that
stuff is breaking here.

As it happens, I have now removed the line that sources /etc/bash.bashrc
from /etc/profile and put it in my ~/.bash_profile - but this is more of
a helpful tip for anyone who lands this way.

"shopt" xsession error upon login

More information about the desktop-bugs mailing list