Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS tmux install error #101

Open
glingy opened this issue Jan 27, 2019 · 0 comments
Open

MacOS tmux install error #101

glingy opened this issue Jan 27, 2019 · 0 comments

Comments

@glingy
Copy link

glingy commented Jan 27, 2019

When installing on MacOS Mojave, the installer downloads tmux through homebrew, but it installs version 2.8. In the script, it checks that tmux is between 1.9 and 2.2, so the installer never passes. I added @2.2 on the brew install line of the script:

370: brew install tmux@2.2 > /dev/null || (brew remove tmux &>/dev/null && brew install tmux@2.2 >/dev/null)
371: ln -sf "$(which tmux)" "$C9_DIR"/bin/tmux

However, this does not work because homebrew does not have a version 2.2 of tmux. Should I install 2.8 and override the restrictions?

if [ "$("$PYTHON" -c "print 1.7<=$tmux_version and $tmux_version <= 2.2")" == "True" ]; then
  return 0
else
  return 1
fi

It seems to have worked (replace 2.2 with 2.8 in the version max), but I wanted to post this in case others are having this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant