I\'m new to tmux. I want to keep the windows\' name fixed after I rename it. But after I renaming it, they keep changing when I execute the commands.
Is there any wa
As suggested on the Super User link, setting the following variable in your .bashrc
or .zshrc
seems to solve the issue:
DISABLE_AUTO_TITLE=true
As shown in a comment to the main post: set-option -g allow-rename off
in your .tmux.conf
file
In my .zshrc file , add the following config, it solved this problem.
DISABLE_AUTO_TITLE=true
# set-window-option -g automatic-rename off
set-option -g allow-rename off
Comment the first one, and set the second one, in the ~/.tmux.conf It works for me.