Open trevorwhitney opened 3 years ago
I also stumbled over this problem. The problem seems to be that tmate
was forked before tmux v2.3
in which the source-file -q
option got introduced: https://github.com/tmux/tmux/commit/fdd368a2945f1f5cbd1cd2a858c00ebffdbf7e46
tmate
'didn't catch up with tmux
' so a lot of key bindings fail with tmate
: #108, #272, ...
It also doesn't seem to be possible to use an alternative system configuration file: tmate
always loads /etc/tmux.conf
, even if -f
is given.
JFI, we currently work around this problem with something like this:
if-shell "! (env | grep -q TMUX=/tmp/tmate)" \
"source-file -q ~/.tmux.conf.local"
See: grml/grml-etc-core@a4aa1466
It appears the
source-file
function takes different arguments in tmate vs tmux. This is causing a problem as I use the-q
argument in my tmux config, so tmate errors when trying to load it.From
man tmate
:From
man tmux
:Versions of each:
Is there a specific reason for this discrepancy?