diff --git a/etc/cshrc b/etc/cshrc index 7ceff2ff58e44ae2e8fe9eafc2da590dafd91190..807d38f0425a9a6d1d8814f49a57938d6c0bfe4b 100644 --- a/etc/cshrc +++ b/etc/cshrc @@ -255,8 +255,17 @@ _foamSource $WM_PROJECT_DIR/etc/aliases.csh # Source user setup files for optional packages # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -_foamSource $WM_PROJECT_DIR/etc/apps/paraview3/cshrc -# _foamSource $WM_PROJECT_DIR/etc/apps/ensight/cshrc +set paraview3=`$WM_PROJECT_DIR/bin/foamEtcFile apps/paraview3/cshrc` +if ( $status == 0 ) then + _foamSource $paraview3 +endif +unset paraview3 + +set ensight=`$WM_PROJECT_DIR/bin/foamEtcFile apps/ensight/cshrc` +if ( $status == 0 ) then + _foamSource $ensight +endif +unset ensight # Clean environment paths again. Only remove duplicates