diff options
Diffstat (limited to 'tmux/profile.d/tmux.sh')
-rw-r--r-- | tmux/profile.d/tmux.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux/profile.d/tmux.sh b/tmux/profile.d/tmux.sh new file mode 100644 index 00000000..2a936da5 --- /dev/null +++ b/tmux/profile.d/tmux.sh @@ -0,0 +1,3 @@ +# Encourage tmux to put its sockets into XDG_RUNTIME_DIR rather than /tmp +[ -n "$XDG_RUNTIME_DIR" ] || return +export TMUX_TMPDIR=$XDG_RUNTIME_DIR |