Split tmux.conf into multiple files?

I have a common tmux configuration file that I place between computers (tmux.conf.common). I would like to be able to load this file into tmux.conf. The way to do this in bash is to have each .bashrc machine output a shared file. Is there a way to do something similar in tmux?

+3


source to share


1 answer


The format .tmux.conf

has a directive source-file

that can be used the same way. Usage source

also works.



source-file /path/to/tmux.conf.common

      

+4


source







All Articles