Skip to content

Commit d0f45f3

Browse files
committed
Fix version checks for tmux 3
1 parent ec268de commit d0f45f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/helpers.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ tmux-is-at-least() {
6666
for ((i=0; i<${#tver[@]}; i++)); do
6767
if ((10#${tver[i]} < 10#${wver[i]})); then
6868
return 1
69+
elif ((10#${tver[i]} > 10#${wver[i]})); then
70+
return 0
6971
fi
7072
done
7173
return 0

0 commit comments

Comments
 (0)