You explode lists manually into items when calling commands on a variable list of arguments instead of “quoting variables” to prevent them from exploding.
Who came up with the bullshit idea that exploding strings into words is such a common use case that this footgun is preferable to have an “explode lists” syntax?
Errors. No more set -euo pipefail; shopt -s lastpipe to beat some semblance of sanity into bash
Unironically though. It takes time because it’s structurally different than python but it’s fun when you figure it out
Get-OutOfHere
Powershell is probably simultaneously the best and worst thing Microsoft has ever created
Second best. The best was Active Directory.
I remember powershell being extremely slow to start on my laptop and sometimes slow to catch up to my typing (and I’m a slooow typist).
tbf it was the win 8.1 days, dunno if it’s better now.
Really liked using it tho. At least it used my actual keyboard layout, unlike cmd.
It even kind of suck as a Windows-only shell…
Honestly it’s pretty good, but it’s very verbose in its commands and output.
The default settings are irritating but it takes only minor tweaks to make it tolerable (mainly fixing the tab completion)
It’s nicely consistent with its object handling.
As a windows shell it is head and shoulders above cmd.exe. I’ve thought about using it on Linux but there I like fish better.
Then give nushell a go. It’s basically a modern implementation of some of the better ideas Powershell had.
What were those?
Types.
You explode lists manually into items when calling commands on a variable list of arguments instead of “quoting variables” to prevent them from exploding.
Who came up with the bullshit idea that exploding strings into words is such a common use case that this footgun is preferable to have an “explode lists” syntax?
Errors. No more
set -euo pipefail; shopt -s lastpipeto beat some semblance of sanity into bashThis but unironically
Big oof