ILD

tmux改变配置后不生效
作者:Yuan Jianpeng 邮箱:yuanjp@hust.edu.cn
发布时间:2018-6-24 站点:Inside Linux Development

改变配置文件 ~/.tmux.conf后,重启tmux,发现无效。


原来tmux有个服务进程,客户进程重启时不会解析配置。


可以:

tmux kill-server


或者:

tmux source-file ~/.tmux.conf


或者在tmux中:

C-b :source-file ~/.tmux.conf


参考

https://stackoverflow.com/questions/30558755/tmux-config-files-are-not-used

https://unix.stackexchange.com/questions/66606/tmux-not-sourcing-my-tmux-conf

https://superuser.com/questions/188491/tmux-disregarding-the-configuration-file


Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.