Я хочу автоматически разбивать панели при запуске сеанса tmux. Однако, хотя в моем .tmux.conf
работают другие команды, например set -g mouse on
, каждая команда конфигурации окна или панели игнорируется. Если я попытаюсь запустить его, используя C-b : source-file ~/.tmux.conf
, tmux просто закроется, сказав [exited]
.
uname -a
Linux cristian-desktop 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
(запуск из сеанса ssh на iTerm2 в OSX 10.14)
tmux -V
:
tmux 2.6
cat .tmux.conf
# session initialization
new -s SessionName -n WindowName 'ls'
splitw -h -p 50 -t 0 'uname -r'
selectw -t 0
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on
cat tmux-client-18536.log
1546440595.157098 client started (18536): version 2.6, socket /tmp/tmux-1000/default, protocol 8
1546440595.158093 on Linux 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018; libevent 2.1.8-stable (poll)
1546440595.158140 socket is /tmp/tmux-1000/default
1546440595.158162 trying connect
1546440595.158324 add peer 0x5644c29ee5e0: 6 ((nil))
1546440595.158434 sending message 100 to peer 0x5644c29ee5e0 (4 bytes)
1546440595.158456 sending message 101 to peer 0x5644c29ee5e0 (15 bytes)
1546440595.158469 sending message 102 to peer 0x5644c29ee5e0 (11 bytes)
1546440595.158483 sending message 108 to peer 0x5644c29ee5e0 (15 bytes)
1546440595.158499 sending message 104 to peer 0x5644c29ee5e0 (0 bytes)
1546440595.158513 sending message 107 to peer 0x5644c29ee5e0 (4 bytes)
1546440595.158527 sending message 105 to peer 0x5644c29ee5e0 (1516 bytes)
1546440595.158567 sending message 105 to peer 0x5644c29ee5e0 (27 bytes)
1546440595.158580 sending message 105 to peer 0x5644c29ee5e0 (52 bytes)
1546440595.158592 sending message 105 to peer 0x5644c29ee5e0 (34 bytes)
1546440595.158603 sending message 105 to peer 0x5644c29ee5e0 (21 bytes)
1546440595.158615 sending message 105 to peer 0x5644c29ee5e0 (24 bytes)
1546440595.158626 sending message 105 to peer 0x5644c29ee5e0 (13 bytes)
1546440595.158637 sending message 105 to peer 0x5644c29ee5e0 (20 bytes)
1546440595.158648 sending message 105 to peer 0x5644c29ee5e0 (19 bytes)
1546440595.158659 sending message 105 to peer 0x5644c29ee5e0 (14 bytes)
1546440595.158670 sending message 105 to peer 0x5644c29ee5e0 (19 bytes)
1546440595.158681 sending message 105 to peer 0x5644c29ee5e0 (20 bytes)
1546440595.158692 sending message 105 to peer 0x5644c29ee5e0 (17 bytes)
1546440595.158703 sending message 105 to peer 0x5644c29ee5e0 (35 bytes)
1546440595.158714 sending message 105 to peer 0x5644c29ee5e0 (65 bytes)
1546440595.158726 sending message 105 to peer 0x5644c29ee5e0 (23 bytes)
1546440595.158737 sending message 105 to peer 0x5644c29ee5e0 (23 bytes)
1546440595.158748 sending message 105 to peer 0x5644c29ee5e0 (19 bytes)
1546440595.158759 sending message 105 to peer 0x5644c29ee5e0 (24 bytes)
1546440595.158770 sending message 105 to peer 0x5644c29ee5e0 (20 bytes)
1546440595.158781 sending message 105 to peer 0x5644c29ee5e0 (16 bytes)
1546440595.158792 sending message 105 to peer 0x5644c29ee5e0 (8 bytes)
1546440595.158804 sending message 105 to peer 0x5644c29ee5e0 (25 bytes)
1546440595.158815 sending message 105 to peer 0x5644c29ee5e0 (17 bytes)
1546440595.158826 sending message 105 to peer 0x5644c29ee5e0 (54 bytes)
1546440595.158837 sending message 105 to peer 0x5644c29ee5e0 (31 bytes)
1546440595.158849 sending message 105 to peer 0x5644c29ee5e0 (134 bytes)
1546440595.158861 sending message 105 to peer 0x5644c29ee5e0 (30 bytes)
1546440595.158872 sending message 105 to peer 0x5644c29ee5e0 (32 bytes)
1546440595.158883 sending message 105 to peer 0x5644c29ee5e0 (20 bytes)
1546440595.158894 sending message 105 to peer 0x5644c29ee5e0 (16 bytes)
1546440595.158905 sending message 105 to peer 0x5644c29ee5e0 (16 bytes)
1546440595.158916 sending message 106 to peer 0x5644c29ee5e0 (0 bytes)
1546440595.158927 sending message 200 to peer 0x5644c29ee5e0 (4 bytes)
1546440595.158938 client loop enter
1546440595.166051 peer 0x5644c29ee5e0 message 207
1546440595.166063 sending message 208 to peer 0x5644c29ee5e0 (0 bytes)
1546440609.330112 peer 0x5644c29ee5e0 message 203
1546440609.330124 sending message 205 to peer 0x5644c29ee5e0 (0 bytes)
1546440609.330253 peer 0x5644c29ee5e0 message 204
1546440609.330259 client loop exit
Я тоже задавал тот же вопрос здесь .