News for hackers. Stuff that matters.
Re:PowerShell 7.0 by tony on Wednesday March 04, 2020 @05:43PM (#22488970)
Just look at that change log: https://github.com/PowerShell/PowerShell/blob/master/CHANGEL...

Meticulous. And clicking the headers link to comparisons at the tag level: https://github.com/PowerShell/PowerShell/compare/v7.0.0-prev...

And the hover link to the left of headers link perfectly to the section: https://github.com/PowerShell/PowerShell/blob/master/CHANGEL...

Sections: Breaking Changes, Engine Updates and Fixes, General Cmdlet Updates and Fixes, Code Cleanup, Tools, Tests, Build and Packaging Improvements, Documentation and Help Content

That's better than what I see in node and python projects.

So much thought and caring. Let's try it:

    > brew cask install powershell
    Updating Homebrew...
    ==> Auto-updated Homebrew!
    Updated 2 taps (homebrew/cask and caskroom/cask).
    ==> Updated Casks
    caskroom/cask/microsoft-edge    homebrew/cask/microsoft-edge
    ==> Downloading ...
    powershell was successfully installed!

    ~ 23s
    > pwsh
    PowerShell 7.0.0
    Copyright (c) Microsoft Corporation. All rights reserved.
    
    https://aka.ms/powershell
    Type 'help' to get help.

    PS /Users/tony>
I'm using Powershell, a C# application, on MacOS, in iTerm2. I'm fine with it. Also, the subsequent bootup of pwsh was faster than the first.

Edit: You can open vim from it. Somehow, it's even detecting my tmuxp (which is in ~/.local/bin). I'm guessing it inherits PATH's from the parent shell?

Re:PowerShell 7.0 by SteveL-MSFT on Thursday March 05, 2020 @06:27PM (#22499523)
Yes, pwsh inherits from parent. However, we've made improvements to use PS7 as a login shell. When used as a login shell, we exec sh on Linux and zsh on macOS to setup the environment, then exec pwsh to inherit.