Skip to main content

Shell

What​

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

Sample Configuration​

− ▢ × zsh _ ohmyposh.dev − ▢ × zsh _ ohmyposh.dev

Options​

NameTypeDefaultDescription
mapped_shell_namesobjectcustom 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