最近使用tmux的过程中,发现在更改tmux 窗口名后,每次更改目录后窗口名字就会更改
搜索后发现一个简单的设置方法vim ~/.tmux.conf添加
set-option -g allow-rename off

或使用命令完成以上操作:
echo "set-option -g allow-rename off">>~/.tmux.conf

如果你想修改正在运行的tmux,执行Ctrl b :,然后再输入命令set-option -g allow-rename offEnter即可.

相关文章:

  • 2022-02-13
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2021-11-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案