Skip to content

Instantly share code, notes, and snippets.

@henrik
Created July 26, 2012 12:15
Show Gist options
  • Save henrik/3181718 to your computer and use it in GitHub Desktop.
Save henrik/3181718 to your computer and use it in GitHub Desktop.
Fix "unsupported new OS, trying as if it were 10.6-10.7" from reattach-to-user-namespace on Mountain Lion (probably in tmux).
# Start by checking if they fixed it upstream:
brew update
brew upgrade reattach-to-user-namespace
# If it says it's already installed, they haven't fixed it upstream. So do this:
# Edit the recipe:
brew edit reattach-to-user-namespace
# In your editor, change:
# dadea0aa48259c704d0b412b9588de2f5623e323 (on line 6) to ece1935953593d05e98d8c3ee8f956b2429d633f
# dadea0 (on line 7) to ece193
# Install the edited version:
brew upgrade reattach-to-user-namespace
# Done!
@artanikin
Copy link

Thank you!

@henrik
Copy link
Author

henrik commented Sep 26, 2018

Glad it's still helpful ❤️ :)

@davybolivar
Copy link

How to fix for Mojave?

@femilofin
Copy link

Here for Mojave too

@marceloboeira
Copy link

Every new macOS release I endup here 😆

@marceloboeira
Copy link

Mojave -> brew upgrade reattach-to-user-namespace works straight away.

@tsai-jimmy
Copy link

Thanks

@miguelmota
Copy link

Fix for macOS Mojave

brew upgrade reattach-to-user-namespace

@kleinjm
Copy link

kleinjm commented Oct 9, 2019

brew upgrade reattach-to-user-namespace works for macOS Catalina as well

@jward7
Copy link

jward7 commented Apr 3, 2020

Still helpful in 2020. Worked for me.

@MSqueaks
Copy link

MSqueaks commented Sep 6, 2020

Thanks for posting.

@arnawldo
Copy link

This worked for me after the Big-Sur update. Thanks for sharing.

@mattbontrager
Copy link

Cheers! (works when updating to Big Sur)

@mylix
Copy link

mylix commented Apr 19, 2021

Worky, works after upgrade to Bigsur!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment