From def9b507a88b8823ef7cdf6826a20dc5cbf95cf9 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Wed, 18 Aug 2010 12:22:28 +0200 Subject: [Funcs] get a title even in tmux... --- 01_Functions.zsh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '01_Functions.zsh') diff --git a/01_Functions.zsh b/01_Functions.zsh index f6c99bf..1cc5d01 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -62,12 +62,12 @@ term_title() # hardstatus #print -Pn "\e]2;{+b W}SCREEN #n {-b W}| {R}?u(u) ?{W}{r}%n@%m{W} ({c}%l{W}) {R}%~{W}${_sep:+$_sep \{+b Y\}}$@{-b W}\a" # Sets hardstatus line (term title) print -Pn "\e]2;{R}?u(u) ?{W}{r}%n{R}@{r}%m{-b W} ({+b c}%l{-b W}) {R}%~{W}${_sep:+$_sep \{+b Y\}}$@{-b W}\a" # Sets hardstatus line (term title) - # caption - print -Pn "\ek" - [ "$SUDO_USER" != "" ] && print -Pn "($USER) " - print -Pn "${@:-%~}" - print -Pn "\e\\" fi + # caption + print -Pn "\ek" + [ "$SUDO_USER" != "" ] && print -Pn "($USER) " + print -Pn "${@:-%~}" + print -Pn "\e\\" ;; *) ;; -- cgit v1.2.3