kali_fornication@lemmy.world to linuxmemes@lemmy.world · 1 day agoit's just the worstlemmy.worldimagemessage-square150fedilinkarrow-up1356arrow-down139
arrow-up1317arrow-down1imageit's just the worstlemmy.worldkali_fornication@lemmy.world to linuxmemes@lemmy.world · 1 day agomessage-square150fedilink
minus-squaremlg@lemmy.worldlinkfedilinkEnglisharrow-up24·15 hours agoDefault zsh is just bash, you need to add all the fancy plugins to get it to do cool stuff fish is for people who don’t want to spend the time setting it all up and to just get a shell that has most of the QoL fetaures builtin.
minus-squareNalivai@lemmy.worldlinkfedilinkarrow-up4arrow-down1·5 hours agoFish is for people who like it when sometimes scripts don’t work
minus-squareAzzu@lemmy.dbzer0.comlinkfedilinkarrow-up4arrow-down1·3 hours agoWhy would sometimes scripts not work? All scripts are executed with bash by default.
minus-squarefloquant@lemmy.dbzer0.comlinkfedilinkarrow-up2·2 hours agoNo, they are executed according to the shebang on the first line, which is usually bash. If it is missing, it will default to the current shell.
minus-squareTangent5280@lemmy.worldlinkfedilinkarrow-up12·10 hours agoBut I’m a compliant little bitch for POSIX daddy
minus-squaredaggermoon@lemmy.worldlinkfedilinkarrow-up1·5 hours agoI tried switching to Nushell but certain things just wouldn’t work so I switched back to zsh. sha512sum wouldn’t work and there’s no native replacement.
minus-squareQuantenteilchen@discuss.tchncs.delinkfedilinkarrow-up4·8 hours agoSo write all your scripts in POSIX compliant bash and use the proper shebang?
minus-squareAzzu@lemmy.dbzer0.comlinkfedilinkarrow-up2arrow-down1·3 hours agoYou don’t even need a proper shebang. Scripts without shebang are executed in bash by fish.
Default zsh is just bash, you need to add all the fancy plugins to get it to do cool stuff
fish is for people who don’t want to spend the time setting it all up and to just get a shell that has most of the QoL fetaures builtin.
Fish is for people who like it when sometimes scripts don’t work
Why would sometimes scripts not work? All scripts are executed with bash by default.
No, they are executed according to the shebang on the first line, which is usually bash. If it is missing, it will default to the current shell.
I like to gamble what can i say
But I’m a compliant little bitch for POSIX daddy
I tried switching to Nushell but certain things just wouldn’t work so I switched back to zsh. sha512sum wouldn’t work and there’s no native replacement.
So write all your scripts in POSIX compliant bash and use the proper shebang?
You don’t even need a proper shebang. Scripts without shebang are executed in bash by fish.