Add TMUX_SOCK like TMUX_PATH for the socket directory.

This commit is contained in:
Nicholas Marriott
2020-04-23 18:15:02 +01:00
parent 0d3fdae7b6
commit d53e1fedd5
2 changed files with 23 additions and 19 deletions

5
tmux.h
View File

@@ -65,10 +65,13 @@ struct winlink;
/* Client-server protocol version. */
#define PROTOCOL_VERSION 8
/* Default configuration file. */
/* Default configuration files and socket paths. */
#ifndef TMUX_CONF
#define TMUX_CONF "/etc/tmux.conf:~/.tmux.conf"
#endif
#ifndef TMUX_SOCK
#define TMUX_SOCK "$TMUX_TMPDIR:" _PATH_TMP
#endif
/* Minimum layout cell size, NOT including border lines. */
#define PANE_MINIMUM 1