Strange behavior on startup
foozzi opened this issue · 6 comments
Is this problem in my configurations?
Stack:
- zsh 5.9 (oh-my-zsh)
- tmux 3.3a
- alaclaritty 0.12.3 (5efb069
- tmuxp 1.31.0, libtmux 0.23.2
- Python 3.11.5
config:
session_name: main
windows:
- window_name: fz0x1
layout: even-horizontal
shell_command_before:
- cd ~/ # run as a first command in all panes
panes:
- neofetchIt may have to do with the initialization time of the shell session in general
If you were to use a barebones .zshrc / .zshenv / etc., or just chsh -s to sh (/bin/sh?) temporarily, does it still happen?
Another idea: Try adding sleep_before/sleep_after and adjusting those params:
session_name: main
windows:
- window_name: first window
layout: even-horizontal
shell_command_before:
- cmd: cd ~/
sleep_before: .25
sleep_after: .25
panes:
- neofetch
@foozzi were you able to check the above?
Not yet, but I think your answer will help me. Thanks.
Having the same issue.
@tony do you happen to know of any other solution? sleep_before: & sleep_after: didn't work unfortunately.
I'm experiencing this issue as well. Does anyone have any other workarounds to attempt to resolve this odd issue?
@arch-btw @keifererikson @arch-btw I am not reproducing this.
Can you rule out it being due to shell / shell configuration? It may be a non-tmux issue:
If you try to chsh to a different shell with no shell configuration, kill tmux, launch into the new shell, then tmuxp load - does it still happen?
If you have reliable recreation steps, that would almost ensure a fix.
