Cannot load a session layout
jvillasante opened this issue · comments
Julio C. Villasante commented
I'm trying tmuxinator for the first time but I can't load a session layout, these are the steps to reproduce:
# Create new layout called "test"
tmuxifier new-session test
# Edit the session file as follow:
echo "1: $(tmux ls)"
initialize_session "test"; echo "2: $(tmux ls)"
finalize_and_go_to_session; echo "3: $(tmux ls)"
# Try to load the session
tmuxifier load-session test
# Output
1: Default: 1 windows (created Tue Feb 21 21:37:33 2023) (attached)
2: Default: 1 windows (created Tue Feb 21 21:37:33 2023) (attached)
test: 1 windows (created Tue Feb 21 21:50:03 2023)
can't find session: test
- My current
Default
session is the only one - After calling
initialize_session "test"
, thetest
session was created - Somehow
finalize_and_go_to_session
seems to fail and I always get the same error:can't find session: test
tmux is left in the initial sate (e.g. only my Default
session exists after the scripts fails)