Is it possible in .tmux.conf to set the prefix to different things depending on the current hostname?

1 Answer 1


Yes you can use %if/%endif, there is an example of changing the status line colour on different hosts in the manual (look under source-file). It will be the same except you will be changing the prefix option.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .