Been testing it today with Claude Code and it seems to work quite well switching between my laptop and phone.
Based on my experience many people don't know this is a thing you can do.
As for fancier setups, I keep bookmarking them, but haven't gotten around to trying any of them, yet.
How do you deal with multiple concurrent sessions of CC with this setup?
How important is mosh? I wasn't able to get it set up the last time I tried... ran into a bunch of issues.
[terminal.shell]
args = ["-l", "-c", "tmux attach || tmux"]
program = "/opt/homebrew/bin/zsh"
tmux supports tabs so you can have multiple Claude Code sessions running concurrently. You do need to learn a few tmux keyboard shortcuts to use it effectively (e.g. opening/closing/switching tab).Depends- how good is your signal? Mosh has a great property that it buffers everything locally so there's no lag even if your connection sucks.
On ssh, every keystroke is a roundtrip
Could even use cc to check in on and/or "send-keys"
What wasn't working about mosh? Just install mosh and use mosh to connect
It's this.
Don't have a Dropbox moment ;) [1]
What I posted "just works".
[1]: https://zellij.dev and https://github.com/zellij-org/zellij
[2]: https://github.com/crigler/dtach and https://dtach.sourceforge.net