From: martin f. krafft Date: Sat, 28 Mar 2020 03:19:08 +0000 (+0100) Subject: if panetitle is hostname, add windowname X-Git-Url: https://git.madduck.net/etc/tmux.git/commitdiff_plain/b2e928edd9d237d26add5d798d256afd846f3bf6?ds=sidebyside if panetitle is hostname, add windowname --- 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 -