3 ms·
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.
by dagmx 8y 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.
- Macha 8y agoIf they do need to be sourced, you can use bass: https://github.com/edc/bass https://github.com/edc/bass
- breatheoften 8y agoWow this is neat — I’m gonna try this out. Does it really work?
- Macha 8y agoIt 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.