Update zsh conditional expressions
Add "TERM" environment variable
Modify Emacs common settings
Add settings for some elisps