(no title)
ratorx | 1 month ago
Fish is nicer to script in by far, and you can keep those isolated with shebang lines and still run Bash scripts (with a proper shebang line). The only thing that’s tricky is `source` and equivalents, but I don’t think I’ve ever needed this in my main shell and not a throw-away sub shell.
hiq|1 month ago
I guess that somewhat breaks with fish: either you use bash -c '...' from the start, or you adopt the fish syntax, which means you need to convert again when you switch to a (bash) script.
ratorx|1 month ago
I also don’t trust myself to not screw up anything more complex than running a command on Bash, without the guard rails of something like shellcheck!