diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-12 11:36:33 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-12 11:36:33 -0300 |
commit | 59b85dea3157f8767502c1d69fb5735414aecf24 (patch) | |
tree | 91681266f394d2f8249940411d0de47e786bcfe9 | |
parent | 320d3bdc004f4999a93eec976918cf9eb68619b8 (diff) | |
download | termplex-59b85dea3157f8767502c1d69fb5735414aecf24.tar.gz termplex-59b85dea3157f8767502c1d69fb5735414aecf24.tar.bz2 |
Set tmux window name
-rwxr-xr-x | shell | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -21,6 +21,8 @@ AUTOSSH="autossh $MONITORING" function window_title { if [ -n "$STY" ]; then screen -p $WINDOW -X title "$*" + elif [ -n "$TMUX" ]; then + tmux rename-window "$*" else if which xtitle &> /dev/null; then xtitle "$*" |