home-manager/tests/modules/programs/tmux/hm-session-vars.sh
2019-04-04 17:14:29 -07:00

5 lines
174 B
Bash

# Only source this once.
if [ -n "$__HM_SESS_VARS_SOURCED" ]; then return; fi
export __HM_SESS_VARS_SOURCED=1
export TMUX_TMPDIR="${XDG_RUNTIME_DIR:-"/run/user/\$(id -u)"}"