Make tmux version check work with tmux master.

This commit is contained in:
John Hood
2017-05-27 21:34:46 -04:00
parent cb91788d05
commit 2f89ac0ac7
+3
View File
@@ -73,6 +73,9 @@ tmux_check()
error "tmux unavailable\n"
return 1
fi
if [ "$version" = "tmux master" ]; then
return 0
fi
version=${version##tmux }
version_major=${version%%.*}
version_minor=${version##*.}