Skip to content

Cannot load a session layout #87

Description

@jvillasante

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions