From 0d50a01a417435788dabc7e7c9c04df195f3f3c7 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 23 Feb 2026 12:00:53 +0100 Subject: [PATCH] Name the current window after the base directory name --- default/bash/functions | 3 +++ 1 file changed, 3 insertions(+) diff --git a/default/bash/functions b/default/bash/functions index c898804e..b0da3fe4 100644 --- a/default/bash/functions +++ b/default/bash/functions @@ -134,6 +134,9 @@ tml() { local editor_pane ai_pane local ai="$1" + # Name the current window after the base directory name + tmux rename-window "$(basename "$current_dir")" + # Get current pane ID (will become editor pane after splits) editor_pane=$(tmux display-message -p '#{pane_id}')