From c6159eb278c2130961cecdd154faa4ac074c561e Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Fri, 12 Jun 2026 01:12:04 +0300 Subject: [PATCH] tmux: use session name as kitty tab title, with @host over SSH --- dot_tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot_tmux.conf b/dot_tmux.conf index 780dd75..8fb1aa1 100644 --- a/dot_tmux.conf +++ b/dot_tmux.conf @@ -87,6 +87,9 @@ setw -g automatic-rename on # rename window to reflect current program set -g renumber-windows on # renumber windows when a window is closed set -g set-titles on # set terminal title +# Title = session name (shown as kitty tab title); append @host when the +# session is attached over SSH, e.g. "reviews@mini". +set -g set-titles-string "#{?SSH_CONNECTION,#S@#h,#S}" set -g display-panes-time 800 # slightly longer pane indicators display time set -g display-time 1000 # slightly longer status messages display time