PowerLine.format.ps1xml

<Configuration>
    <ViewDefinitions>
        <View>
            <Name>PowerLine-Preview</Name>
            <ViewSelectedBy>
                <TypeName>PowerLine.Theme</TypeName>
            </ViewSelectedBy>
            <CustomControl>
                <CustomEntries>
                    <CustomEntry>
                        <CustomItem>
                            <ExpressionBinding>
                                <ScriptBlock>
                                    $CurrentTheme = Get-PowerLineTheme
                                    $_ | Set-PowerLineTheme
                                    "$( Write-PowerLinePrompt )`n`n$(
                                      $PSRL = $_.PSReadLinePromptText
                                      @(if ($PSRL.Count -ge 2) {
                                        "PSReadLine PromptText:"
                                        $PSRL[0] + "$([char]27)[0m'Normal Prompt'"
                                        $PSRL[1] + "$([char]27)[0m'Incomplete"
                                      }) -join "`n")"
                                    $CurrentTheme | Set-PowerLineTheme
                                </ScriptBlock>
                            </ExpressionBinding>
                        </CustomItem>
                    </CustomEntry>
                </CustomEntries>
            </CustomControl>
        </View>
    </ViewDefinitions>
</Configuration>