by locusofself · 11mo ago · 0 comments
For one, it's the right arrow key for complete for most things (but tab for others).
But by FAR the worst thing is that often times you'll type a command and try to tab/arrow complete an argument, and the module/dll or whatever is not loaded into memory, and so theres some blocking operation and loads the module which takes 10+ seconds. This happens to me almost every day.
I do love powershell otherwise though, after 20+ years in bash, there is actually some things to like about it.
I thought nushell would be able to make sense of that and display it semi-nicely.
Nushell pukes on it, errors out, and doesn’t even show the output of the command. As far as sins go for a shell, not showing the output of the program it just ran is very high among them.
nushell had its chance with me.
It is amazing until you run into one of these insane behaviors that somehow nobody ever fixed.
(Some are actually fixed finally in 7.x - like issues with filenames with grave characters in them)
Microsoft should find it embarrassing how long it takes powershell to load a module. Pushing <tab> to autocomplete a cmdlet name should never take more than maybe 100 milliseconds.
This is the most noticable with startup times. My favorite software (Firefox) has this solved; it opens up in reasonable amounts of time, even if it takes a moment after to show the first website. My second favorite software (Inkscape), meanwhile, takes so long just to show the main UI that the developers didn't think anything of adding a splash screen: an overt acknowledgement that you're keeping the user waiting.
I, too, wish that everything were more lean and snappy, but clearly this is still an unsolved problem.
For every problem I have on my macOS, some poor Windows user have experienced 50 non-Googleable errors. I do like Powershell though.
Set-PSReadLineKeyHandler -Chord "Tab" -Function AcceptSuggestion