0

I have two files named tmuxA.conf and tmuxB.conf.

tmuxA.conf

position='bottom'

tmuxB.conf

source-file ~/path/to/tmuxA.conf

set -g status-position $position

I can't seem make it work, I'm suspecting I have to set it globally? but how can I do that?

1 Answer 1

0

The tmux configuration file is not a shell script and does not allow for setting arbitrary variables.

2
  • aren't there any hacks or workaround to achieve this?
    – cevhyruz
    Sep 17, 2018 at 13:56
  • @JohnFredFadrigalan Not without resorting to using some sort of preprocessing of the configuration files to create one file from a set of files.
    – Kusalananda
    Sep 17, 2018 at 14:04

You must log in to answer this question.

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