Hacker News new | ask | show | jobs
by dagmx 2888 days ago
As long as they don't need to be sourced, you can just add a shebang for bash at the top of the scripts and run them via bash.
1 comments

If they do need to be sourced, you can use bass: https://github.com/edc/bass
Wow this is neat — I’m gonna try this out. Does it really work?
It works at least for nvm (caveat: Installed from nvm directly, not homebrew), and my company's ssh setup script, which are the two reasons I've had cause to use it.