mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-31 22:07:25 -08:00
899 B
899 B
id | title | sidebar_label |
---|---|---|
session | Session | Session |
What
Show the current user and host name.
Sample Configuration
{
"type": "session",
"style": "diamond",
"foreground": "#ffffff",
"background": "#c386f1",
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"user_info_separator": "@",
"postfix": " "
}
}
Properties
- user_info_separator:
string
- text/icon to put in between the user and host name. - user_color:
string
hex color code - override the foreground color of the user name. - host_color:
string
hex color code - override the foreground color of the host name. - display_user:
boolean
- display the user name or not default:true
. - display_host:
boolean
- display the host name or not default:true
.