Skip to main content

Shell

Whatโ€‹

Show the current shell name (zsh, PowerShell, bash, ...).

Sample Configurationโ€‹

{
"type": "shell",
"style": "powerline",
"powerline_symbol": "๎‚ฐ",
"foreground": "#ffffff",
"background": "#0077c2",
"properties": {
"mapped_shell_names": {
"pwsh": "PS"
}
}
}

Propertiesโ€‹

|mapped_shell_names|object|custom glyph/text to use in place of specified shell names (case-insensitive)|

Template (info)โ€‹

default template
{{ .Name }}

Propertiesโ€‹

NameTypeDescription
.Namestringthe shell name
.Versionstringthe shell version