I often work a heavy mixture of locally and remotely, so every time I start a new unit of work (very loose definition) I run a script I threw together that creates a new directory tree to work in, perhaps checks some things out, and creates a new named tmux session for that work. I then use an alias for `tmux attach-session -t` with zsh autocompletion for tmux to rapidly pick up where I left off on any number of things I was previously working on.
Since tmux works locally as well as remotely, I find this to be a great organizational trick.
Since tmux works locally as well as remotely, I find this to be a great organizational trick.