Remix.run Logo
liampulles 4 days ago

I do this for all the scripts I write. That does cover one of the scenarios I covered above, which is valid.

rafram 4 days ago | parent [-]

Then there’s no reason you can’t use a different shell as your interactive shell, while running your scripts in bash.

kstrauser 4 days ago | parent | next [-]

A thousand times this. I use bash scripting for things I’m going to distribute, but do all my local CLI work and scripting in fish because life’s too short to wear the bash hair shirt when I don’t have to.

esafak 4 days ago | parent [-]

bash: what you feel like doing with your head trying to get work done in it.

liampulles 4 days ago | parent | prev [-]

For me to develop my scripts it would help alot if my interactive shell supports the syntax as well. I mean you are right of course, I CAN do that, but it then becomes a tradeoff question again of whether this non-compatible interactive shell has sufficient niceties.

sholladay 4 days ago | parent [-]

I agree with you. Have you tried Fish? I find it to be the perfect balance of these goals. It has lots of niceties, which for me was already enough to switch to it years ago. But lately, they’ve been adding lots of bash compatibility, which has made it even more awesome.

liampulles 4 days ago | parent [-]

I will check it out, cheers