There may be a use case to
source a general
bash script in
fish. For example, if a function is present in a script file that needs to be sourced,
fish cannot execute the script because
sh functions are not natively supported.
How to source general scripts in
Sourcing general scripts in
fish is trivial with a plugin named
bass. Using a preferred package manager,
bass can be installed and used to source scripts.