Revert "cm: Remove $TERM in global envrionment"

This reverts commit 7cd2a3f6e88ae47ba5e198081e87b49feb2e4797.