-
-
Notifications
You must be signed in to change notification settings - Fork 822
Open
Description
Tested on two machines running powershell 5 and 7. In powershell 7, there is no autocomplete on tab and the console prompt is broken showing only the branch name but no other status details. Everything works as expected on powershell 5 however.
Profile
Import-Module 'C:\tools\poshgit\dahlbyk-posh-git-9bda399\src\posh-git.psd1'
Powershell 5
C:\Users\xxx\repos\prefect [add-dev-qa ≡ +1 ~0 -0 | +1 ~0 -0 !]> echo $GitStatus
HasWorking : True
Branch : add-dev-qa
AheadBy : 0
Working : {test2.txt}
Upstream : origin/add-dev-qa
StashCount : 0
Index : {test.txt}
HasIndex : True
BehindBy : 0
HasUntracked : True
UpstreamGone : False
GitDir : C:\Users\xxx\repos\prefect\.git
Powershell 7
C:\Users\xxx\repos\prefect [add-dev-qa]> echo $GitStatus
AheadBy : 0
Index : {}
Upstream :
StashCount : 0
Branch : add-dev-qa
UpstreamGone : False
BehindBy : 0
HasIndex : False
HasWorking : False
GitDir : C:\Users\xxx\repos\prefect\.git
HasUntracked : False
Working : {}
C:\Users\xxx\repos\prefect [add-dev-qa]> Get-Command prompt
CommandType Name Version Source
----------- ---- ------- ------
Function prompt 0.7.3.1 posh-git
Metadata
Metadata
Assignees
Labels
No labels