Rework changing pane titles.
[profile.git] / .tmux.conf
index 2ac48a8..9b7e9d0 100644 (file)
@@ -204,6 +204,9 @@ setw -g window-status-activity-fg white
 ################################################################################
 # Don't update the title bar.
 set -g set-titles off
+set -g allow-rename off
+# Allow pane renames if no name was explicitly set.
+set -g automatic-rename on
 # Status line black on white.
 set -g status-attr none
 set -g status-bg white
@@ -218,5 +221,3 @@ set -g status-right '#[fg=white,bg=colour8][#H:#S]'
 # Window flags.
 setw -g window-status-current-format '[#I.#P#F #W]'
 setw -g window-status-format ' #I.#P#F #W '
-# Don't set window name.  XXX: Issue with PROMPT_COMMAND.
-#setw -g automatic-rename off