From f87be8d0521436c47151233f781794dee94fc1df Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 23 Apr 2020 17:27:39 +0100 Subject: [PATCH] Add XDG_CONFIG home to the configuration search paths. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 72b21f0a..a395ecdb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,8 +12,8 @@ dist_EXTRA_tmux_SOURCES = compat/*.[ch] # Preprocessor flags. AM_CPPFLAGS += @XOPEN_DEFINES@ \ - -DTMUX_VERSION="\"@VERSION@\"" \ - -DTMUX_CONF="\"$(sysconfdir)/tmux.conf:~/.tmux.conf:~/.config/tmux/tmux.conf\"" + -DTMUX_VERSION='"@VERSION@"' \ + -DTMUX_CONF='"$(sysconfdir)/tmux.conf:~/.tmux.conf:$$XDG_CONFIG_HOME/tmux/tmux.conf:~/.config/tmux/tmux.conf"' # Additional object files. LDADD = $(LIBOBJS)