aboutsummaryrefslogtreecommitdiffhomepage
path: root/justfile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-04 16:44:28 +0900
committernsfisis <nsfisis@gmail.com>2026-07-04 16:44:28 +0900
commit73915464e9e805ec191fdad6cafbead76b3a60fc (patch)
treed52c7d5a4d4b591b7c350db39d2e7b9dc65b4131 /justfile
parent72b2424e393dfc1208454baa2c3a3650d2b32140 (diff)
downloaddotfiles-73915464e9e805ec191fdad6cafbead76b3a60fc.tar.gz
dotfiles-73915464e9e805ec191fdad6cafbead76b3a60fc.tar.zst
dotfiles-73915464e9e805ec191fdad6cafbead76b3a60fc.zip
tmux: work around for tmux 3.7 bug
Diffstat (limited to 'justfile')
-rw-r--r--justfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/justfile b/justfile
index 963df53..a567983 100644
--- a/justfile
+++ b/justfile
@@ -17,6 +17,17 @@ update-and-commit HOST:
git add -- flake.lock home-manager/package-versions.txt
git commit -m "nix: update flake"
git diff --color=always HEAD~ -- home-manager/package-versions.txt
+ just check-tmux-version
+
+# tmux 3.7 has a crash bug in break-pane (fixed in 3.7a); tmux.conf works around it.
+check-tmux-version:
+ #!/usr/bin/env bash
+ set -euo pipefail
+ version=$(grep -oP '^tmux-\K.*' home-manager/package-versions.txt)
+ if [ "$version" != "3.7" ]; then
+ echo "WARNING: tmux version changed: 3.7 -> $version"
+ echo " See home-manager/config/tmux/tmux.conf"
+ fi
sync HOST=default_host:
git fetch --all