0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-19 08:42:16 +00:00
Tee KOBAYASHI 2105bd4508 tmux: Fix behavior with non-login shell
where f8e73d466068c8eb2b5c4e44a663a5c38374e1cf does not work well.
2022-09-20 09:04:42 +09:00

12 lines
278 B
Diff

--- a/tmux.h
+++ b/tmux.h
@@ -74,7 +74,7 @@
#define TMUX_CONF "/etc/tmux.conf:~/.tmux.conf"
#endif
#ifndef TMUX_SOCK
-#define TMUX_SOCK "$TMUX_TMPDIR:" _PATH_TMP
+#define TMUX_SOCK "$TMUX_TMPDIR:@TERMUX_PREFIX@/var/run"
#endif
#ifndef TMUX_TERM
#define TMUX_TERM "screen"