Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

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 [email protected] > /dev/null || (brew remove tmux &>/dev/null && brew install [email protected] >/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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant