From dfa15c249388d81c39d9fd54032ebf96c47219bc Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 21 Jun 2008 11:32:04 +0200 Subject: etc/prompt: Added shelltitle escape code --- etc/prompt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc/prompt') diff --git a/etc/prompt b/etc/prompt index b841d46..1b8871e 100644 --- a/etc/prompt +++ b/etc/prompt @@ -1,5 +1,6 @@ ## Prompt ## vim:ft=zsh # RPS1 is on the right side of the terminal -export PS1="${ps_yellow}%n@%m${ps_reset} %c %(!.${ps_red}#.${ps_green}>)${ps_reset} " +# The \ek\e\\ is for screens 'shelltitle' command +export PS1="${ps_yellow}%n@%m${ps_reset} %c %(!.${ps_red}#.${ps_green}>)${ps_reset} "$'\ek\e\\' export RPS1="${ps_yellow}[${ps_info}${pstags}${ps_yellow}%T]${ps_reset}" -- cgit v1.2.3