TMUX 默认启动 shell 作为登录 shell。我正在寻找一种方法来否定文件中的这种行为(以便它启动非登录 shell).tmux.conf。
.tmux.conf
目前我可以tmux set-option -g default-command "/bin/bash"在 tmux 之外使用。但这只能在 tmux 已经启动时才能完成,我似乎找不到将它集成到 conf 文件的方法。
tmux set-option -g default-command "/bin/bash"
linux bash shell tmux
bash ×1
linux ×1
shell ×1
tmux ×1