Re:Benefits of using tmux – streamlining your development en...
by nnutter on Tuesday November 08, 2016 @05:37PM
(#12904581)
Does it save environment variables too?
[ Parent
| on HN ]
Re:Benefits of using tmux – streamlining your development en...
by minhajuddin on Tuesday November 08, 2016 @11:25PM
(#12906029)
It 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"),
]
...