As long as you use bash in your shebang you won’t know the difference. Fish even has conventions for applying environment variables to be available in both shells. I’ve used Fish for a couple years and my biggest gripe (which is still minor) is that command snippets off the Internet don’t always work. In those cases I either switch to bash temporarily or fix the command to work in Fish.
Most of the time the fix is: put quotes around your strings (especially when they may contains globing patterns). Sometimes its using newer syntax available in bash but not on the snippet.
As long as you use bash in your shebang you won’t know the difference. Fish even has conventions for applying environment variables to be available in both shells. I’ve used Fish for a couple years and my biggest gripe (which is still minor) is that command snippets off the Internet don’t always work. In those cases I either switch to bash temporarily or fix the command to work in Fish.
Most of the time the fix is: put quotes around your strings (especially when they may contains globing patterns). Sometimes its using newer syntax available in bash but not on the snippet.