News for hackers. Stuff that matters.
Re:The fish shell is amazing by Macha on Thursday November 25, 2021 @11:58AM (#29342903)
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.

Re:The fish shell is amazing by yourad_io on Thursday November 25, 2021 @05:48PM (#29345740)
Hadn't heard of fnm before, thanks. Seems worth checking out.