prefix + R is currently bound to sourcing ~/.tmux.conf.
For anyone using ~/.config/tmux/tmux.conf or ${XDG_CONFIG_HOME}/tmux/tmux.conf,
this binding will be of no use, perhaps even misleading.
This patch tests if the file ${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf exists,
if affirmative, it sources it, if not, it sources ~/.tmux.conf.
prefix + R
is currently bound to sourcing~/.tmux.conf
. For anyone using~/.config/tmux/tmux.conf
or${XDG_CONFIG_HOME}/tmux/tmux.conf
, this binding will be of no use, perhaps even misleading.This patch tests if the file
${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf
exists, if affirmative, it sources it, if not, it sources~/.tmux.conf
.