In kdelibs-2.2-7, line 2 of /etc/profile.d/kde.csh says "0KDEDIR" when it should say "$?KDEDIR".
Argh, forgot to escape a $. Fixed in 2.2-8