Skip to content

Conversation

@scolby33
Copy link

This changeset modifies tmuxifier-load-window and tmuxifier-load-session to accept an optional argument that sets the name of the new window or session, overriding the default from the configuration file (or its name).

This also required small changes to the new_window() and initialize_session() functions in order to respect the $window and $session variables, respectively, which were already set by the calling load_window() and load_session() functions, but were ignored.

@scolby33
Copy link
Author

I have not updated the completions because:

  1. I don't know how
  2. I don't think it's necessary, since the overridden names are fully user-provided and can't be guessed

This changeset modifies tmuxifier-load-window and tmuxifier-load-session
to accept an optional argument that sets the name of the new window or
session, overriding the default from the configuration file (or its
name).

This also required small changes to the `new_window()` and
`initialize_session()` functions in order to respect the `$window` and
`$session` variables, respectively, which were already set by the
calling `load_window()` and `load_session()` functions, but were
ignored.
@scolby33 scolby33 force-pushed the name-windows-and-sessions branch from caf54e1 to 592ac5a Compare October 13, 2025 08:05
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

Successfully merging this pull request may close these issues.

1 participant