Skip to content

Instantly share code, notes, and snippets.

@ashander
Last active May 5, 2016 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashander/882739211f30abbedbc0b54544f3f542 to your computer and use it in GitHub Desktop.
Save ashander/882739211f30abbedbc0b54544f3f542 to your computer and use it in GitHub Desktop.
recovering iTerm2 when a process inside a tmux-integrated session lock up and session restoration is enabled
  • kill iterm2 from Activity Monitor
  • open a terminal
  • login to tmux and back up using tmux resurrect or similar
pkill iTerm
ps |grep tmux
kill -9 # for each [pid] correesponding to a `tmux -CC` process, 
        # you could use pkill instead if you got the pattern right?

restart iTerm2 restore your tmux if needed

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