1

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

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.