Skip to content

Commit

Permalink
Add ~/.config/tmux/tmux.conf to the default search path for configura…
Browse files Browse the repository at this point in the history
…tion files

(in Makefile.am, so portable tmux only).
  • Loading branch information
nicm committed Dec 10, 2019
1 parent 5b2048f commit 15d7e56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 15d7e56

Please sign in to comment.