4 ms·
Here's what I do to survive macos updates, random restarts, crashes etc. I had Claude Code to configure all of this: Terminal Setup: - Alacritty as your term
by MacroStan 1y ago
Here's what I do to survive macos updates, random restarts, crashes etc. I had Claude Code to configure all of this:
Terminal Setup:
- Alacritty as your terminal
- tmux as your session manager
- Auto-start tmux in Alacritty configuration
Key Protection:
# Alacritty auto-starts tmux sessions
tmux new-session -s main # Creates persistent session
# tmux shortcuts (prefix: Ctrl+a)
# Sessions persist even if terminal closes
Plugins:
tmux-resurrect and tmux-continuum plugins to automatically save/restore sessions with a simple "dev" command.
The tmux session will survive terminal crashes/closes, so you can reconnect to your Claude session by reopening Alacritty (which auto-attaches)
- zhuravel 1y agoWhy not use `claude --continue`?
- MacroStan 1y agoI've tried claude --resume and it did not work. Also, I have 4 claude windows going on all the time. I do not know how to recreate all 4
- MacroStan 1y agoOk, I take back some of this. Its survived a macos update once. I got all 4 claude windows and their sessions back. However, the next time, it reopened 4 panes but I lost all Claude sessions. I checked out the demo and it looks great. I am guessing it supports 4 concurrent claude sessions? I cannot find this in docs