1) var=value syntax doesn't work in csh 2) If the bad syntax is fixed, "if" bails out with "Expression Syntax." Both of these problems mean my tcsh dot files don't get run. The relevant lines are flagged below with '*': ------------------------------------------------------------ # KDE initialization script (csh) if ( $?KDEDIR ) then if ( $KDEDIR == "/usr" ) then exit endif endif setenv KDEDIR /usr kdepath="${KDEDIR}/bin" * if ( echo ${PATH} | grep -q ${kdepath} ) then * exit endif setenv PATH "${kdepath}:${PATH}" ------------------------------------------------------------ Suggested fixes: First line should read, 'set kdepath = "${KDEDIR}/bin"' I'm not sure about the appropriate if syntax; maybe some appropriately placed backtics would fix it.
*** This bug has been marked as a duplicate of 3686 ***