【问题标题】:How to create an unnamed window with tmuxinator?如何使用 tmuxinator 创建一个未命名的窗口?
【发布时间】:2015-06-17 05:20:07
【问题描述】:

我想用 tmuxinator 创建 2 个窗口:

windows:
  - editor: vim
  - : # I want this window unnamed, but tmuxinator say that this is not valid

谢谢。

【问题讨论】:

  • 我不知道 tmuxinator 是什么,但这听起来像 "" 可能有用。
  • @hoijui 感谢您的回复,但是“”不会创建一个未命名的窗口,它会创建一个名为“”的窗口
  • 也许一个未命名的窗口是完全无效的(例如,窗口管理器不允许它)?你为什么要首先不命名它?也许有更好的方法来做你想做的事。请解释一下。
  • @hoijui 一个未命名的窗口将被 tmux 自动重命名,这在我在同一个窗口中运行不同的程序时很有用,窗口名称会告诉我正在运行什么程序。最后我找到了一个解决方案see this page。谢谢。

标签: tmuxinator


【解决方案1】:

找到了这个解决方法: https://github.com/tmuxinator/tmuxinator/issues/292

name: default
root: ~/
windows:
  - main:
    - tmux set-window-option -t1 automatic-rename on
    - clear

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-21
    • 2011-03-28
    • 1970-01-01
    • 2022-01-25
    • 1970-01-01
    相关资源
    最近更新 更多