Skip to content

Conversation

AridTag
Copy link

@AridTag AridTag commented Mar 16, 2018

I was getting a strange duplicating spaces issue seen here
image

After this change to using [string]::Format it looks like this
image

@AridTag
Copy link
Author

AridTag commented Mar 29, 2018

I just learned that this can be fixed by instead replacing your original strings given to Write-Host with something like this (" $($branchSymbol) $($status.Branch)") instead of [string]::Format

So I added another commit that changes to that. It's the same style that posh-git uses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant