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 way that I can keep them in a static name?
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
.bashrc
or .zshrc
file and add this lineexport DISABLE_AUTO_TITLE=true
~/.tmux.conf
fileset-option -g allow-rename off
This can be done either from within the tmux, by pressing Ctrl+B
and then :
to bring up a command prompt, and typing:
:source-file ~/.tmux.conf
Or simply from a shell:
$ tmux source-file ~/.tmux.conf
set-option -g allow-rename off
– Abhaya