Add ~/.config/tmux/tmux.conf to the default search path for configuration files

(in Makefile.am, so portable tmux only).
pull/2014/head
Nicholas Marriott 2019-12-10 16:31:01 +00:00
parent 5b2048fbb9
commit 15d7e564dd
1 changed files with 2 additions and 1 deletions

View File

@ -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)