Hacker News new | past | comments | ask | show | jobs | submit login

I've had my shell startup scripts modularized for many years now, but I do a much more complicated system where the scripts actually have a function `require` exposed to them that can be used to express dependencies. If you `require` something that's already been loaded it does nothing, so each script is still only just loaded once.



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

Search: