Jaykul / PowerLine

A more PowerShell prompt
MIT License
567 stars 31 forks source link

Set-PSBreakpoint in profile breaks set-powerlineprompt #25

Closed quatrimodo closed 5 years ago

quatrimodo commented 7 years ago

I have this statement in my profile to set a variable date string. Set-PSBreakpoint -Variable Dt -Mode Read -Action {$Global:Dt=((get-date -f o).replace(':','-')) -replace ".{6}$"; $Global:Dt}

This causes the first command to cause the prompt to be reset to just PS. In addition all commands including dir do not produce any output to the PS console. Set-PowerLinePrompt -SetCurrentDirectory -RestoreVirtualTerminal -Newline -Timestamp -Colors "#00DDFF","#0066FF"

Jaykul commented 5 years ago

I believe I fixed this one a long time ago...