From 8f1d3a1528cf6e952584c1ddf5694e60230930b1 Mon Sep 17 00:00:00 2001 From: PHO Date: Tue, 6 Jan 2009 22:24:21 +0900 Subject: [PATCH] Auto commit by The Sugar System. --- dot-files/_zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot-files/_zshrc b/dot-files/_zshrc index fc238a3..b3677dd 100644 --- a/dot-files/_zshrc +++ b/dot-files/_zshrc @@ -58,6 +58,8 @@ function _we_are_in_gnu_screen () { _prompt_base='%{%(?.$fg[green].$fg[red])%}%B[%n@%m] %#%b %{$reset_color%}' if ( _we_are_in_gnu_screen ); then + # Magic escape sequence for GNU Screen to update their titles + # dynamically by grabbing prompt line. PROMPT=$'%{\ek\e\\%}'$_prompt_base else PROMPT=$_prompt_base -- 2.40.0