3 ms·
Does it save environment variables too?
by nnutter 10y ago
Does it save environment variables too?
- funksta 10y agoI don't believe it does save env vars. However, as an owner of a crashy 2010 MBP, tmux-resurrect saves my bacon several times a week. I very highly recommend it.
- minhajuddin 10y agoIt doesn't save anything, it is just a startup script to get your tmux session set up the way you want. You can however, have env vars in the script or source from a particular file. e.g. session "grnc_hub" directory "/home/minhajuddin/a/grnc_hub" window "server", [ pane("RAILS_ENV=production rails s"), pane("source ./.env && rails s"), ] ...
- toddnni 10y agoNo, but add an autoenv script of your choice, like zsh-autoenv and the combination is nearly perfect.