Keep the window's name fixed in tmux

后端 未结 4 2137
误落风尘
误落风尘 2020-12-12 10:42

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

相关标签:
4条回答
  • 2020-12-12 11:21

    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
    
    0 讨论(0)
  • 2020-12-12 11:28

    As shown in a comment to the main post: set-option -g allow-rename off in your .tmux.conf file

    0 讨论(0)
  • 2020-12-12 11:31

    In my .zshrc file , add the following config, it solved this problem.

    DISABLE_AUTO_TITLE=true
    
    0 讨论(0)
  • 2020-12-12 11:33
    # 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.

    0 讨论(0)
提交回复
热议问题