Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do you persist these scripts across sessions?


I'm not sure just what you mean, but to try to answer: $SESSION contains a meaningful context name, not a nonce string. Stuff in ~/.contexts/$SESSION sticks around unless I manually remove it (I also store context specific history and config files there). If I need to access a script from another context, I can just give the full path - winds up working a little bit like namespaces.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: