Garret Wilson

Results 220 comments of Garret Wilson

I commented out the following in my `$Profile`, and the number disappeared! ```powershell Import-Module posh-git ``` I would guess that PowerShell 7.3.4 has some API changes that will cause [posh-git](https://github.com/dahlbyk/posh-git)...

> Is that actually the "Windows Terminal" in your screenshot? It looks more like the traditional Console window. No, once I realized that this was simply the window title and...

> This to me means that Posh-git added this change not PowerShell … Except that posh-git has been unchanged for over a year. So I find it odd this would...

> I did ask what version of posh-git you are using so that it could be reproduced properly Sorry, didn't see that request. `Get-Module posh-git` gives me: ``` ModuleType Version...

> The OP could usefully provide the $Profile file to check. I discovered that when I comment out `Import-Module posh-git` the issue goes away. I believe there are no external...

I note that open opening PowerShell the window title is cut off in Windows Terminal, so I don't see the PID unless I switch to e.g. the root directory to...

I did a brute force attack and cloned the [posh-git repository](https://github.com/dahlbyk/posh-git.git) and did a text search for `$PID`. This is the only reference, from `PoshGitTypes.ps1`: ```powershell [psobject]$WindowTitle = {param($GitStatus, [bool]$IsAdmin)...

So from taking that line at face value, it would seem that it was always there and I simply didn't see it because Windows Terminal was truncating a long title?...

From the line I dug up from the `posh-git` source code, it would appear that posh-git was always adding the PID, and I didn't notice it because the Windows Terminal...

> It's the default in 7.3 yes. Not in 7.2 and earlier … So what was the default in 7.2 and earlier? Was it just normal text, or was it...