jrmoulton / tmux-sessionizer

Tmux Sessionizer: A tool for opening git repositories as tmux sessions
MIT License
458 stars 35 forks source link

Add support for running script on session creation #113

Closed petersimonsson closed 3 months ago

petersimonsson commented 3 months ago

Looks for a script named .tms-create in the path of the session being created. Runs it by sending keys to the first window's top pane. The script needs to be executable.

This can be overridden by adding something like the following to the config file: [session-configs.session_name] create_script = "my-create.sh"

fixes #33