# .cshrc: executed by C shells on startup # If this is login or some command is to be executed # then change to a sane shell if ($?loginsh || $?command) then # switch to bash setenv SHELL /bin/bash if ($?loginsh) then if ($?command) then exec /bin/bash --login -c "$command" endif exec /bin/bash --login endif # not a login shell, so there must be command exec /bin/bash -c "$command" endif # go ahead, use csh