diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2010-08-19 11:00:52 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2010-08-19 11:00:52 +0200 |
commit | 96d4ec53ff2faafa47da96b63c99841507dbd45e (patch) | |
tree | e67c4c16d148526237a6a6b77df71409b66c52bc | |
parent | 02df6c7f9f5a909895945fbccff481d4a52498b9 (diff) |
Revert "[Funcs] get a title even in tmux..."
=> Set tmux to do automatic-rename, and to disallow titles.
-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 1cc5d01..f6c99bf 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\\" ;; *) ;; |