HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/mysqlsh/prompt/prompt_16.json
{
  "classes" : {
    "schema": {
      "text": "[%host%%xprotocol%%ssltext%/%schema%]"
    },
    "noschema": {
      "text": "[%host%%xprotocol%%ssltext%]"
    },
    "nohost": {
    },
    "production" : {
      "text": " PRODUCTION ",
      "bold": true
    }
  },
  "variables" : {
    "is_production": {
        "match" : {
            "pattern": "*;%host%;*",
            "value": ";%env:PRODUCTION_SERVERS%;"
        },
        "if_true" : "production",
        "if_false" : ""
    },
    "xprotocol": {
      "match": {
            "pattern": "%session%",
            "value": "x"
      },
      "if_true": "+",
      "if_false": ""
    },
    "ssltext": {
      "match": {
            "pattern": "%ssl%",
            "value": "SSL"
      },
      "if_true": " ssl",
      "if_false": ""
    }
  },
  "prompt": {
    "text": "> ",
    "cont_text": "%linectx%> "
  },
  "segments": [
	{
	  "classes": ["nohost%host%", "%is_production%"]
	},
    {
      "separator": "",
      "text": "MySQL"
    },
    {
      "classes": ["nohost%host%", "noschema%schema%", "schema"],
      "shrink": "truncate_on_dot",
      "weight": 10,
      "bold": true
    },
    {
      "text": "%Mode%",
      "tag": "%Mode%",
      "separator" : " "
    }
  ]
}