diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2010-08-18 12:22:28 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2010-08-18 12:22:28 +0200 |
commit | def9b507a88b8823ef7cdf6826a20dc5cbf95cf9 (patch) | |
tree | 380c82ced08268aa467ee3f5b7c0eed2aaa2c95e /01_Functions.zsh | |
parent | d2ff177aea43182c37ea6e049c8fc61f231d809b (diff) |
[Funcs] get a title even in tmux...
Diffstat (limited to '01_Functions.zsh')
-rw-r--r-- | 01_Functions.zsh | 10 |
1 files changed, 5 insertions, 5 deletions
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\\" ;; *) ;; |