Heredoc with powerline

85 Views Asked by At

When I try to use heredoc with powerline, I get blank segments before each new line: heredoc in powerline How can I fix it so that it looks lsomething ike this: heredoc in powerline-shell

1

There are 1 best solutions below

0
On BEST ANSWER

Just create a theme for continuation (file ~/.config/powerline/themes/shell/continuation.json) with the following content:

{
    "segments": {
        "left": [
            {
                "type": "string",
                "contents": ">",
                "highlight_groups": ["continuation"]
            }
        ]
    }
}

Here's the result: fixed powerline