From 22f28f7c2a5db5aa66de01e75d614ba18e60642b Mon Sep 17 00:00:00 2001 From: Peng Li Date: Sun, 26 Feb 2017 01:30:57 +0800 Subject: [PATCH] zsh - fix issue in emacs tramp mode --- zsh/zshrc | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.11.0