Heredoc 与电力线

Heredoc with powerline

当我尝试使用 heredoc with powerline 时,我在每个新行之前得到空白段: 我怎样才能修复它,使它看起来像这样:

只需为 continuation(文件 ~/.config/powerline/themes/shell/continuation.json)创建一个主题,内容如下:

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

结果如下: