summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-21 11:32:04 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-21 11:32:04 +0200
commitdfa15c249388d81c39d9fd54032ebf96c47219bc (patch)
treeb1c403a785e7b9f9ec5edbd7694d0781c8cdb0a3 /etc
parentff41ad68f19cf15e9c4d1081a441f7f3d04ae555 (diff)
etc/prompt: Added shelltitle escape code
Diffstat (limited to 'etc')
-rw-r--r--etc/prompt3
1 files changed, 2 insertions, 1 deletions
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}"