我最近开始使用 tmux 。到目前为止,一切都很好 。
在探索该选项时,我发现了一个选项
#Enable names for panes
set -g pane-border-status top --> I see this as working with no issue.
#Automatically assign a name
set -g pane-border-format "#P: #{pane_current_command}" --> This is command is not per my expectation
我登录到启用了 tmux 的终端,然后登录到出租车服务器,然后登录到我的应用程序服务器。我的期望是当我在我的应用服务器上寻找路径时,我希望窗格窗口显示该路径。
有人能帮我吗 ?如果有任何其他命令你也会很棒。
想让你知道——
我也尝试过修改 .bashrc 。它工作正常,如果我使用腻子,但不是在 tmux 上。
我在 Windows 机器上使用 tmux,即 mintty(不在 ubuntu、mac x 上)