update .cshrc/.tcshrc rather than .profile when using csh/tcsh

Closes #1843