如何让 ~/.byobu/.tmux.conf 中的更改在不重新启动 byobu 的情况下生效

How to have changes in ~/.byobu/.tmux.conf take effect without restarting byobu

我想在 byobu 中更改我的默认值 shell 而无需重新启动它。 但是,当我修改 ~/.byobu/.tmux.conf 中的行时:

来自:

set -g default-shell /usr/bin/fish
set -g default-command /usr/bin/fish

至:

set -g default-shell /usr/bin/zsh
set -g default-command /usr/bin/zsh

新 windows 并且会话仍然以鱼提示开始。 我不确定除了关闭所有 byobu 会话之外还能尝试什么,但这是不可取的,因为进程是 运行,我不想杀死它。

如何在 byobu 中更改我的默认值 shell,我可以在不关闭所有 byobu sessions/windows 的情况下执行此操作吗?

只需按 F5 即可刷新 Byobu!

完全披露:我是 Byobu 的作者和维护者。