zsh: detect dumb terminal

detect dumb terminal such as emacs tramp and force a simple prompt