The file kde.csh has several defects. If I'm a user and attempt to login to my machine, the sourcing of kde.csh will fail... list of bugs [1] didn't use 'set' when specifying 'kdepath' [2] final 'if...then' doesn't check exit status, instead checks output of command 'echo $path | grep -q $kdepath'..need to look at exit status by either using {} around command or via the $status variable Here is a script with the issues fixed...just do a diff with original to see problems... ----------- # KDE initialization script (csh) if ( $?KDEDIR ) then if ( $KDEDIR == "/usr" ) then exit endif endif setenv KDEDIR /usr set kdepath="${KDEDIR}/bin" echo $path | grep $kdepath > /dev/null if ( $status ) then exit endif setenv PATH "${kdepath}:${PATH}"
*** This bug has been marked as a duplicate of 3686 ***