Skip to content

rprompt on first line #3207

Dec 16, 2022 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

@Chucky2401 you need to make the last rprompt block the second one and make it a regular prompt block which is right aligned.

{
  "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
  "blocks": [
    {
      "alignment": "left",
      "segments": [
        {
          "foreground": "cyan",
          "properties": {
            "template": "\ue70f"
          },
          "style": "powerline",
          "type": "os"
        },
        {
          "background": "transparent",
          "foreground": "#16C60C",
          "properties": {
            "style": "full"
          },
          "style": "plain",
          "template": " {{ if .SSHSession }}\…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Chucky2401
Comment options

Answer selected by Chucky2401
Comment options

You must be logged in to vote
1 reply
@JanDeDobbeleer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants