Revert "Revert "cm: Remove $TERM in global envrionment""

This reverts commit 232f6259bb8314e6d3af41b25aaf252dc437e2c8.