jimeh / tmuxifier

Tmuxify your Tmux. Powerful session, window & pane management for Tmux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR: Tmuxifier requires Tmux v1.6 or newer. You have vnext-3.4.

joaopedroaat opened this issue · comments

I'm getting this error using tmux installed with dnf on Fedora 39

`tmuxifier

~/.tmux/plugins/tmuxifier/libexec/tmuxifier-tmux-version: line 35: ((: 10#: invalid integer constant (error token is "10#")
~/.tmux/plugins/tmuxifier/libexec/tmuxifier-tmux-version: line 37: ((: 10#: invalid integer constant (error token is "10#")
ERROR: Tmuxifier requires Tmux v1.6 or newer. You have vnext-3.4.`

`tmux -V

tmux next-3.4
`

The issue comes from a regex inside tmuxifier-tmux-version (here) where it removes alphabetic characters. Unfortunally, vnext-3.4 with keep the hypen-minus "-". resulting in an invalid version -3.4.

The workaround is to just add a hypen-minus on the regex to escale it. version=${version//+([a-zA-Z-])/}

I made a pull request with the fix. Waiting for it to be approved. Thanks!

Issue is now resolved we can close it @joaopedroaat, thank you!