Text
What
Display text.
Sample Configuration
- json
- yaml
- toml
{
"type": "text",
"style": "plain",
"foreground": "#E06C75",
"template": "❯"
}
type: text
style: plain
foreground: "#E06C75"
template: ❯
type = "text"
style = "plain"
foreground = "#E06C75"
template = "❯"
Template (info)
Properties
Name | Type | Description |
---|---|---|
.Root | boolean | is the current user root/admin or not |
.Path | string | the current working directory |
.Folder | string | the current working folder |
.Shell | string | the current shell name |
.UserName | string | the current user name |
.HostName | string | the host name |
.Env.VarName | string | Any environment variable where VarName is the environment variable name |