mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 02:23:36 +08:00

I can't seem to find a reason why the shell interpreter needs to be bash and not just sh here. Needed to replace `BASH_SOURCE[0]` with the legacy `$0` supported by sh, but otherwise it seems to still work. Many non-Linux platforms do not ship with bash out-of-the-box (and as a shell, I don't think we need to encourage the further proliferation of bash ;-), this lets fish build on a clean install of FreeBSD, which does not have bash.