JS doesn’t have any standards
ECMAScript would like to have a word with you.
If however by “doesn’t have any standards” you meant it’s willing to sink to new low grounds every day, you would be correct.
JS doesn’t have any standards
ECMAScript would like to have a word with you.
If however by “doesn’t have any standards” you meant it’s willing to sink to new low grounds every day, you would be correct.
zshenv
’s selling point isn’t necessarily that your typical functions are available across scripts (though that can be neat, too – I source aliasrc
as well as an utils
script file in my shell config) – it’s that it’s there for non-interactive shells too, whereas zprofile
is only applied for login shells (and zshrc
only for interactive ones).
So for example, I could open a command in my editor of choice (Helix’s :sh
for me), and if I define stuff using the zshenv
, all of my aliases etc. are right there. I just have to avoid naming conflicts for script function names if it’s the default shell, but that’s pretty easily done.
Nice find, thanks for sharing.
For Macs (only Macs, I believe), there is StopTheMadness, which, uh well, stops the madness (test page here for some examples it can re-enable).