Add cc-mode-config. Other changes for startup.
compatibale the env where have no trash-cli installed.