From 15d7e564ddab575dd3ac803989cc99ac13b57198 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 10 Dec 2019 16:31:01 +0000 Subject: [PATCH] Add ~/.config/tmux/tmux.conf to the default search path for configuration files (in Makefile.am, so portable tmux only). --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index ab302637..dc281383 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,7 +11,8 @@ EXTRA_DIST = \ dist_EXTRA_tmux_SOURCES = compat/*.[ch] # Preprocessor flags. -AM_CPPFLAGS += @XOPEN_DEFINES@ -DTMUX_CONF="\"$(sysconfdir)/tmux.conf\"" +AM_CPPFLAGS += @XOPEN_DEFINES@ +AM_CPPFLAGS += -DTMUX_CONF="\"$(sysconfdir)/tmux.conf:~/.tmux.conf:~/.config/tmux/tmux.conf\"" # Additional object files. LDADD = $(LIBOBJS)