From 79b1514fd46560ec8393713c0bff769ba1448e2d Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Mon, 15 Feb 2016 18:47:53 +0200 Subject: [PATCH] Disable setting title in emacs terminal (not supported) This fixes #188 and takes place of #190, at least for now. --- pure.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pure.zsh b/pure.zsh index a0618516..268bbff6 100644 --- a/pure.zsh +++ b/pure.zsh @@ -85,6 +85,9 @@ prompt_pure_check_git_arrows() { } prompt_pure_set_title() { + # emacs terminal does not support settings the title + (( ${+EMACS} )) && return + # tell the terminal we are setting the title print -n '\e]0;' # show hostname if connected through ssh