In plasma5 midnight commander doesn't exit to current directory anymore

As i describe in https://bugzilla.opensuse.org/show_bug.cgi?id=1203617

This is from the latest Tumbleweed version

in file /etc/bash.bashrc:

if test -s /etc/profile.d/mc.sh
then . /etc/profile.d/mc.sh
elif test -s /usr/share/mc/mc.sh
then . /usr/share/mc/mc.sh
fi

Insert this after:

#
# ksh/ash sometimes do not know
#
test -z "$UID"  && readonly  UID=`_path id -ur 2> /dev/null`
test -z "$EUID" && readonly EUID=`_path id -u  2> /dev/null`

test -s /etc/profile.d/ls.bash && . /etc/profile.d/ls.bash

Please insert this in Leap also.
And mc will work again as expected.