![](https://seccdn.libravatar.org/avatar/abdee805d4df05af9a496107100c582c.jpg?s=120&d=mm&r=g)
* Maximilian Trummer
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.
do you have: ls -la /etc/profile.d/mc.sh lrwxrwxrwx 1 root root 19 Aug 7 08:12 /etc/profile.d/mc.sh -> /usr/share/mc/mc.sh and is /usr/share/mc/mc.sh # Don't define aliases in plain Bourne shell [ -n "${BASH_VERSION}${KSH_VERSION}${ZSH_VERSION}" ] || return 0 mc() { . /usr/share/mc/mc-wrapper.sh } if [ -n "$BASH_VERSION" ] then export -f mc fi -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org