Open ZoomTen opened 3 months ago
I suspect the "re-exec" method may have tripped the CI and froze the tests. Seems to work well on my end :(
Will figure out something.
macOS provides bash
always, so that should be fine?
It's an old version though, is it? I probably might have used features of the newer version without even realizing it...
Hmm, good point. Does ShellCheck have a feature for that?
Enforces
bash
to runrgbenv
. Undersh
, it first checks for the existence ofbash
on the device, and then re-executes itself underbash
if it exists.On slower environments, e.g. Termux, it might cause a slight delay on startup. However it should have trivial effect on the "usual" (PC, etc.) environments.
Although
bash
is the most commonly-used shell (especially on Linux), I was concerned about other environments (outside of WIndows with batch files) where that may not be available (see #9).But I think I want the extra checking facilities that
bash
provides, and honestly POSIXsh
is a bit too limiting. I'm concerned about Mac OS since I'm still unable to test that, but I'd like to hear some thoughts on this.