Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tmux: missing tmux config file?

Tags:

tmux

Just installed tmux via homebrew and I'm trying to locate the system-wide tmux configuration file. The man pages state that the system-wide file should be located in /etc/tmux.conf, but for some reason, it is not there. Where is the default tmux.conf file located?

Note: Currently running OSX Mavericks

like image 922
Brandon Mercer Avatar asked Nov 12 '13 03:11

Brandon Mercer


People also ask

Where is my tmux config file?

Tmux first looks for the system configuration file inside the directory '/etc/tmux. conf', if it is absent, it then searches inside the home directory of the user. The file contains a list of Tmux commands which are executed sequentially.

How do I install a tmux conf file?

Reloading the Tmux config file using the command: “tmux source-file”. 2. Reloading the Tmux config file using the Tmux command prompt. This will load the config file from inside a running Tmux session.


1 Answers

As far as I can tell the tmux installed via homebrew does not have a system wide conf file. If you did need one you could add your own at /etc/tmux.conf. However, I would wonder the need for this. I place my config in ~/.tmux.conf and everything is very happy.

There is a /usr/local/Cellar/tmux/1.8/etc directory but it houses the bash completion scripts. I also checked usr/local/etc it it to did not have an installed config.

I'm pretty confident at this point that the tmux installer via homebrew does not install it's own system wide config file instead leaving that as an exercise for the sys admin if such a feature was required.

like image 85
Sukima Avatar answered Sep 30 '22 22:09

Sukima