Is there a way to "source" a sh script from the fish shell?
For sourcing a general sh
script in fish
, one option is the bass plugin, which can source a bash script's environment variables into fish.
If you have fisherman, you can install it with fisher install edc/bass
, then run bass source <command>
.