Skip to main content

Talosctl Context

What​

Displays the currently active Talosctl context name.

This segment leverages the .talos/config file generated by the Talosctl CLI. The CLI docs can be found by going to Documentation > Reference > CLI. For example, v1.7 CLI.

Sample Configuration​

− ▢ × 󱃾 cymbal-cluster _ ohmyposh.dev − ▢ × 󱃾 cymbal-cluster _ ohmyposh.dev

Template (info)​

default template
{{ .Context }}

Properties​

NameTypeDescription
.Contextstringthe current talosctl context