From 2648a23a60b3c415888b0df3b95a3170f4ec472c Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 26 Sep 2014 02:08:49 -0700 Subject: [PATCH] Avoids errors when running prezto in Emacs terminals --- modules/editor/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/editor/init.zsh b/modules/editor/init.zsh index 9a347a09..6f4758c3 100644 --- a/modules/editor/init.zsh +++ b/modules/editor/init.zsh @@ -6,7 +6,7 @@ # # Return if requirements are not found. -if [[ "$TERM" == 'dumb' ]]; then +if [[ "$TERM" == 'dumb' ]] || [[ "$TERM" == 'eterm-color' ]]; then return 1 fi