Merge pull request #95 from joaopedroaat/master

Bugfix: add fix to tmux next-* versions.
This commit is contained in:
2024-02-18 00:28:39 +00:00
committed by GitHub

View File

@@ -44,6 +44,9 @@ vercomp () {
version=$(tmux -V) version=$(tmux -V)
version=${version/tmux /} version=${version/tmux /}
# Fix for tmux next-* versions
version=${version/next-/}
if [ -z "$1" ]; then if [ -z "$1" ]; then
echo "$version" echo "$version"
exit exit