From 13e57fe4676d6191324f8f1954b3bd770a29361a Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Fri, 20 Mar 2026 00:11:10 -0400 Subject: [PATCH] tmux --- home/tmux.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/tmux.nix b/home/tmux.nix index e4238be..ebf48c0 100644 --- a/home/tmux.nix +++ b/home/tmux.nix @@ -47,9 +47,9 @@ | awk '{print \$1}' \ | xargs tmux switch-client -t" - # Auto-rename windows to the current running command + # Auto-rename windows to the current directory basename set -g automatic-rename on - set -g automatic-rename-format '#{pane_current_command}' + set -g automatic-rename-format '#{b:pane_current_path}' # Start all numbering at 1 instead of 0 for better key reachability set-option -g base-index 1