Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
fix deleting useful symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Michalec authored and JanDeDobbeleer committed Oct 2, 2020
1 parent 0a49093 commit 39d56ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Themes/Star.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function Write-Theme {
$status = Get-VCSStatus
if ($status) {
$themeInfo = Get-VcsInfo -status ($status)
$info = "$($themeInfo.VcInfo)".Split("")[1].TrimStart()
$info = "$($themeInfo.VcInfo)".Split(" ")[1].TrimStart()
$prompt += Write-Prompt -Object " on " -ForegroundColor $sl.Colors.PromptForegroundColor
$prompt += Write-Prompt -Object "$($sl.GitSymbols.BranchSymbol+' ')" -ForegroundColor $sl.Colors.GitDefaultColor
$prompt += Write-Prompt -Object "$($status.Branch)" -ForegroundColor $sl.Colors.GitDefaultColor
Expand Down

0 comments on commit 39d56ed

Please sign in to comment.