From b2e928edd9d237d26add5d798d256afd846f3bf6 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sat, 28 Mar 2020 04:19:08 +0100 Subject: [PATCH 1/1] if panetitle is hostname, add windowname --- .tmux.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index d4e20eb..e92b36c 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -15,7 +15,6 @@ set-option -g aggressive-resize on set-option -g detach-on-destroy on set-option -g set-titles on -set-option -g set-titles-string "#{pane_title}" +set-option -g set-titles-string "#{?#{==:#{pane_title},#{host_short}},#h:#W,#T}" bind-key '\' confirm-before -p "kill-session #S? (y/n)" kill-session - -- 2.39.5