Make TMUX_CONF a list of files and expand leading $FOO or ~.

This commit is contained in:
nicm
2019-12-10 14:22:15 +00:00
parent 7826d40ff9
commit 55eb3e4773
2 changed files with 52 additions and 13 deletions

4
tmux.h
View File

@ -60,9 +60,9 @@ struct winlink;
/* Client-server protocol version. */
#define PROTOCOL_VERSION 8
/* Default global configuration file. */
/* Default configuration files. */
#ifndef TMUX_CONF
#define TMUX_CONF "/etc/tmux.conf"
#define TMUX_CONF "/etc/tmux.conf:~/.tmux.conf"
#endif
/* Minimum layout cell size, NOT including border lines. */