Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load a session layout #87

Open
jvillasante opened this issue Feb 22, 2023 · 0 comments
Open

Cannot load a session layout #87

jvillasante opened this issue Feb 22, 2023 · 0 comments

Comments

@jvillasante
Copy link

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
  1. My current Default session is the only one
  2. After calling initialize_session "test", the test session was created
  3. 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant