From: Peng Li Date: Sat, 25 Feb 2017 17:30:57 +0000 (+0800) Subject: zsh - fix issue in emacs tramp mode X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;ds=inline;h=22f28f7c2a5db5aa66de01e75d614ba18e60642b;p=dotfiles.git zsh - fix issue in emacs tramp mode --- diff --git a/zsh/zshrc b/zsh/zshrc index 7a5b102..1ea7de2 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -3,6 +3,9 @@ # Darwin or Linux OSNAME=`uname` +# For Emacs Tramp mode +[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return + autoload colors colors