From 0e8ceb4536664f28076dc0e1fc7e865dc44cdc7b Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Mon, 2 Mar 2015 10:20:49 +0100 Subject: [Env] termcaps Vs process_tree : don’t stick strickly up to binary path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 10_Environment.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '10_Environment.zsh') diff --git a/10_Environment.zsh b/10_Environment.zsh index f9389fe..10c3f0f 100644 --- a/10_Environment.zsh +++ b/10_Environment.zsh @@ -28,11 +28,11 @@ _C="$_c%}" unset has_termcaps case "$( _process_tree )" in - *":: screen ::"*) + *"screen ::"*) # Discards termcaps even if screen is launched from an urxvt.. ;; - *":: urxvt ::"*|\ - *":: tmux ::"*) + *"urxvt ::"*|\ + *"tmux ::"*) has_termcaps="true" ;; *) -- cgit v1.2.3