From 77750849ca93f7f8b90ef9d37bf8185258810ed6 Mon Sep 17 00:00:00 2001 From: Scott Carroll Date: Sat, 26 Apr 2025 10:11:39 +0100 Subject: [PATCH] tmux: test for version before using new options --- base/.tmux.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/base/.tmux.conf b/base/.tmux.conf index 71e8e63..2c5886c 100644 --- a/base/.tmux.conf +++ b/base/.tmux.conf @@ -13,4 +13,7 @@ bind-key -n F3 previous-window bind-key -n F4 next-window set -s set-clipboard on -set -g allow-passthrough on + +if-shell -b '[ "$(echo "$TMUX_VERSION >= 3.3" | bc)" = 1 ]' { + set -g allow-passthrough on +}