Config
Config¶
~/.tmux.conf
~/.config/tmux/tmux.conf
(XDG Base Directory specification)
Tmux looks for configuration files in the following locations, in order of precedence:
- Command line option:
-f path
- User's config:
~/.tmux.conf
- System-wide config:
/etc/tmux.conf
~/.config/tmux/tmux.conf
(XDG Base Directory specification) # newer versions
The most common location used is ~/.tmux.conf
You can verify which config file tmux is using by running:
And you can check what version of tmux you're running (which might affect config file locations) with:
tmux source-file ~/.tmux.conf
: source changes without restarting session