V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
ykwlv
V2EX  ›  tmux

tmux 如何所有窗口执行一条命令?

  •  
  •   ykwlv · Jan 3, 2017 · 7113 views
    This topic created in 3405 days ago, the information mentioned may be changed or developed.

    修改了 bash_profile ,如果每个窗口的都要重新加载的话,除了在每个窗口执行. ~/bash_profile 以外,有没有什么比较简单方便的办法?

    2 replies    2017-01-04 01:22:16 +08:00
    zjuhwc
        1
    zjuhwc  
       Jan 4, 2017 via iPhone   ❤️ 1
    http://stackoverflow.com/questions/16325449/how-to-send-a-command-to-all-panes-in-tmux

    楼主有兴趣可以研究下 tmuxp 及其工具库 tmuxlib , python 写的 tmux 工具,蛮好用的
    ETiV
        2
    ETiV  
       Jan 4, 2017   ❤️ 1
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   887 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 18:59 · PVG 02:59 · LAX 11:59 · JFK 14:59
    ♥ Do have faith in what you're doing.