tmuxinator specify custom project config file

953 Views Asked by At

I'm trying to store my tmuxinator project config in a file in my actual repo with all the other config files rather than the normal place it stores them all.

But i can't see a way to load tmuxinator from a config file with any flags etc.
I know that i can create a project config with tmuxinator new [name] and then it stores it as ~/.tmuxinator/[name].yml but i'd like to have this file in my repo.

Would a good solution be to just create a symbolic link between the files?

Or would this be bad practice with tmuxinator? If so why?

Thanks in advance.


[edit]

For now, I've created a task in my makefile to create a link with:

link-tmuxinator: 
    @mkdir -p ~/.tmuxinator/
    ln ${projectpath}/tmuxinator.yml ~/.tmuxinator/${projectname}.yml

Works well for now, runs once on setup, let me know though if you have any other ideas for future projects though.

0

There are 0 best solutions below