3 ms·
bass works for things you're meant to source. If the script is not meant to be sourced, just run bash yourscript.sh . It basically runs the script in bash, dif
by Macha 5y ago
bass works for things you're meant to source. If the script is not meant to be sourced, just run bash yourscript.sh .
It basically runs the script in bash, diffs the environment, and applies the environment changes to your outer fish shell. I use it for some internal tools, and previously used it for nvm though I moved from nvm to fnm now which has fish support.
- yourad_io 5y agoHadn't heard of fnm before, thanks. Seems worth checking out.