check for tcsh vs csh in a better way