From f9ec6d99585709c11ed52a068ac37b3a260d0d4c Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Mon, 22 Jan 2024 10:38:22 +0100 Subject: [PATCH] Auto-rename pane --- dot_tmux.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dot_tmux.conf b/dot_tmux.conf index f8ac366..d2088ce 100644 --- a/dot_tmux.conf +++ b/dot_tmux.conf @@ -42,7 +42,6 @@ unbind-key C-b set -g base-index 1 # start windows numbering at 1 setw -g pane-base-index 1 # make pane numbering consistent with windows -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 @@ -55,8 +54,8 @@ setw -g monitor-activity on setw -g visual-activity on # Auto rename -set-window-option -g automatic-rename off -set-option -g allow-rename off +set-option -g automatic-rename on +set-option -g automatic-rename-format '#{b:pane_current_path}' # Allows us to use C-a a to send commands to a TMUX session inside # another TMUX session