【问题标题】:can I set color on all tabs in iTerm2?我可以在 iTerm2 中的所有选项卡上设置颜色吗?
【发布时间】:2021-12-19 10:08:05
【问题描述】:

我可以通过it2setcolor shell 集成以编程方式设置 iTerm2 中一个选项卡的颜色。

 $ # In the evening I run the dark theme
 $ it2setcolor preset 'AdventureTime'
 $ # In the morning I go back to the light theme
 $ it2setcolor preset 'Light Background'

有没有一种方法可以在一个命令中设置所有打开的选项卡? 目前我必须去每个标签并运行上面的命令。

【问题讨论】:

    标签: iterm2


    【解决方案1】:

    您可以使用广播向单个窗口中的所有会话发送命令。

    选择 Shell > 广播输入 > 广播到所有选项卡中的所有窗格

    或按CommandShiftI

    现在在任何会话中输入命令。它被广播到所有会话。要关闭,

    选择 Shell > 广播输入 > 仅将输入发送到当前会话

    或按CommandOptionShiftI

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-05-20
      • 1970-01-01
      • 2013-11-25
      • 2017-10-23
      • 1970-01-01
      • 2017-03-31
      • 1970-01-01
      相关资源
      最近更新 更多