Skip to content

Commit

Permalink
I realised I wasn't following the standard convention of repo [branch].
Browse files Browse the repository at this point in the history
  • Loading branch information
georgecheyne committed Aug 16, 2018
1 parent 0fb0b9a commit fc5dec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GitPrompt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ function Write-GitStatus {
if($psISE){
$repo = $Status.RepoName
$branch = $Status.Branch
$tabName = "$repo=>$branch"
$tabName = "$repo [$branch]"
#you can't have 2 tabs with the same name so shove a number on the end
$tabCount = 0
foreach($tab in $psISE.PowerShellTabs){
Expand Down

0 comments on commit fc5dec1

Please sign in to comment.