Permanent Alias with pwsh.exe not powershell.exe, see https://stackoverflow.com/questions/24914589/how-to-create-permanent-powershell-aliases#comment126572792_29806921
steps:
$ cd $env:USERPROFILE\Documents
$ md PowerShell -ErrorAction SilentlyContinue
$ cd PowerShell
$ New-Item Microsoft.PowerShell_profile.ps1 -ItemType "file" -ErrorAction SilentlyContinue
$ powershell_ise.exe .\Microsoft.PowerShell_profile.ps1
add ie
function Do-ActualThing {
& "C:\Users\dkahlenberg\scoop\apps\git\current\bin\bash.exe" --login -i @Args
}
Set-Alias bash Do-ActualThing