I've been directed here so I'll repost this from opensuse-support:
After upgrading to Tumbleweed 20191014, I'm getting this message whenever I
start a bash session:
bash: mc: line 1: syntax error: unexpected end of file
bash: error importing function definition for `mc'
It seems to be a problem with the file /etc/profile.d/mc.sh
mc is installed from the main OSS repo.
I don't have any "weird" repos installed either, my activated ones are:
Also, kdesu doesn't function anymore, see
Interestingly, both issues appeared together after an upgrade, just like for
this user here
and it affects other TW users too