With commit dd36a4561b0b ("use XDG_DATA_HOME for resurrect-dir path") the default location of resurrect-dir changed to $XDG_DATA_HOME/tmux/resurrect as long as $HOME/.tmux does not exist. This makes manually hard-coding resurrect-dir obsolete.