by positr0n · 10y ago · 0 comments
Of course I can see the case for combining both tools. If you have a lot of projects, and/or want REPLs loaded you might not want them sitting around in memory for months if you're not going to use them.
It is trivial to get working. Just use tmux plugin manager to install tmux-resurrect and tmux-continuum.
https://github.com/tmux-plugins/tpm
Example usage in my dotfiles: https://github.com/positron/dotfiles/blob/master/.tmux.conf#...
session "grnc_hub"
directory "/home/minhajuddin/a/grnc_hub"
window "server", [
pane("RAILS_ENV=production rails s"),
pane("source ./.env && rails s"),
]
...