In the comments section of a recent post I found out that Windows PowerShell had been ported to Linux. Had no clue it was a thing.

Went looking and found this old article attempting to explain why they did it. Not remotely interested in giving up Bash for PowerShell, but I thought it was interesting enough to share. The article seems to be from 2016.

I have never been more tempted to check the NSFW box, but I’ll leave it open for now unless a mod complains. :-D

  • mystik@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    5 days ago

    By default Bash will auto complete filenames (In fact, in 25 years, i can’t remember the time bash didn’t). Sometimes, there are autocomplete ‘helpers’ that try to be overly smart (ie, only autocompleting files that have the right extension, which can interfere when you are doing creative things with mis-named file). However, in Powershell, cmdlets declare a type for each of their parameters, which lets powershell autocomplete the right type of item, which can make it a bit more magical and reliable.