Skip to main content

Segments

A segment is a single piece of information in your prompt: the current path, a Git status, a language version, a cloud context. See Segment for how to configure one.

Search all 117 segments below by name, type or description.

117 segments

angularDisplay the currently active Angular CLI version.
CLI
argocdArgoCD ContextDisplay the current ArgoCD context name, user and/or server.
CLI
aspireDisplay the Aspire AppHost in the current repo and whether it is running.
CLI
aureliaDisplay the currently active Aurelia version.
CLI
bazelDisplay the currently active Bazel version.
CLI
bufDisplay the currently active Buf CLI version.
CLI
bunDisplay the currently active Bun CLI version.
CLI
claudeClaude CodeDisplay Claude Code session state: model, context window usage, tokens and cost.
CLI
cmakeDisplay the currently active Cmake version.
CLI
denoDisplay the currently active Deno CLI version.
CLI
dockerDisplay the current Docker context, or a list of running containers when display_mode is set to environment.
CLI
firebaseDisplay the current active Firebase project.
CLI
flutterDisplay the currently active flutter version. Supports fvm.
CLI
copilotGitHub CopilotDisplay your GitHub Copilot quota: premium interactions, completions and chat usage.
CLIneeds auth
copilot_cliGitHub Copilot CLIDisplay GitHub Copilot CLI session state: model, context window usage and tokens.
CLI
gitversionDisplay the GitVersion version. We _strongly_ recommend using GitVersion Portable for this.
CLI
gradleDisplay the currently active Gradle version, along with the versions of its bundled components (Kotlin, Groovy, Ant, JVM).
CLI
helmDisplay the active Helm version.
CLI
kubectlKubernetesDisplay the currently active Kubernetes context name and namespace name.
CLI
mvnMavenDisplay the currently active Maven version.
CLI
nbgvNerdbank.GitVersioningDisplay the Nerdbank.GitVersioning version.
CLI
nix-shellDisplays the nix shell status if inside a nix-shell environment.
CLI
npmDisplay the currently active npm version.
CLI
nxDisplay the currently active Nx version.
CLI
pnpmDisplay the currently active pnpm version.
CLI
quasarDisplay the currently active Quasar CLI version. Only rendered when the current or parent folder contains a quasar.config or quasar.config.js file.
CLI
reactDisplay the currently active React version.
CLI
svelteDisplay the currently active Svelte version.
CLI
talosctlTalosctl ContextDisplays the currently active Talosctl context name.
CLI
taskwarriorDisplay Taskwarrior output for any set of configured commands.
CLI
tauriDisplay the currently active Tauri version.
CLI
terraformTerraform ContextDisplay the currently active Terraform Workspace name.
CLI
ui5toolingDisplay the active UI5 tooling version (global or local if present - see the documentation).
CLI
umbracoDisplay the Umbraco version in use in the current working directory.
CLI
unityDisplay the currently active Unity and C# versions.
CLI
unoUno PlatformDisplay the currently active Uno Platform SDK version.
CLI
xmakeDisplay the currently active Xmake version.
CLI
yarnDisplay the currently active yarn version.
CLI
zvmDisplay the active Zig version reported by ZVM (Zig Version Manager).
CLI
awsAWS ContextDisplay the currently active AWS profile and region.
Cloud
azdAzure Developer CLIDisplay the currently active environment in the Azure Developer CLI.
Cloud
azfuncAzure FunctionsDisplay the currently active Azure Functions CLI version.
Cloud
azAzure SubscriptionDisplay the currently active Azure subscription information.
Cloud
cdsCDS (SAP CAP)Display the active CDS CLI version.
Cloud
cfCloud FoundryDisplay the active Cloud Foundry CLI version.
Cloud
cftargetCloud Foundry TargetDisplay the details of the logged Cloud Foundry endpoint (cf target details).
Cloud
gcpGCP ContextDisplay the currently active GCP project, region and account
Cloud
pulumiDisplay the currently active Pulumi logged-in user, url and stack.
Cloud
sitecoreDisplay current Sitecore environment. Will not be active when sitecore.json and user.json don't exist.
Cloud
nightscoutDisplay live blood sugar readings from a Nightscout server.
Healthneeds auth
orthodoxcalOrthodox CalendarDisplay the Orthodox fasting level and feast for the current day.
Health
ramadanDisplay Sehar and Iftar times during Ramadan, with a countdown to the next.
Health
stravaDisplay your latest Strava activity, with an optional colour cue when it has been a while.
Healthneeds auth
withingsDisplay your last measured weight, sleep or step count from Withings.
Healthneeds auth
clojureDisplay the currently active Clojure version.
Languages
crystalDisplay the currently active crystal version.
Languages
dartDisplay the currently active Dart version. Supports fvm.
Languages
dotnetDisplay the currently active .NET SDK version.
Languages
elixirDisplay the currently active Elixir version.
Languages
fortranDisplay the currently active fortran compiler version.
Languages
goGolangDisplay the currently active Golang version.
Languages
haskellDisplay the currently active Glasgow Haskell Compiler (GHC) version.
Languages
javaDisplay the currently active Java version.
Languages
juliaDisplay the currently active Julia version.
Languages
kotlinDisplay the currently active Kotlin version.
Languages
languageDisplay the version of any executable, without writing a dedicated segment.
Languages
luaDisplay the currently active Lua or LuaJIT version.
Languages
mojoDisplay the currently active version of Mojo and the name of the Magic virtual environment.
Languages
nimDisplay the currently active Nim version.
Languages
nodeDisplay the currently active Node.js version.
Languages
ocamlDisplay the currently active OCaml version.
Languages
perlDisplay the currently active Perl version.
Languages
phpDisplay the currently active PHP version.
Languages
pythonDisplay the currently active Python version and virtualenv. Supports conda, virtualenv and pyenv (if python points to pyenv shim).
Languages
rDisplay the currently active R version.
Languages
rubyDisplay the currently active Ruby version.
Languages
rustDisplay the currently active Rust version.
Languages
swiftDisplay the currently active Swift version.
Languages
vDisplay the currently active V version.
Languages
valaDisplay the currently active Vala version.
Languages
zigDisplay the currently active Zig version.
Languages
lastfmShow the currently playing song from a LastFM user.
Musicneeds auth
spotifyShow the currently playing song in the Spotify client.
Music
ytmYouTube MusicShows the currently playing song in the YouTube Music Desktop App.
Musicneeds auth
dvcDisplay DVC (Data Version Control) information when in a DVC repository.
Source control
fossilDisplay Fossil information when in a fossil repository.
Source control
gitDisplay Git information when in a repository, including subfolders.
Source control
jujutsuDisplay Jujutsu information when in a Jujutsu repository.
Source control
mercurialDisplay Mercurial information when in a repository.
Source control
plasticPlastic SCMDisplay Plastic SCM information when in a repository, including subfolders.
Source control
saplingDisplay Sapling information when in a sapling repository.
Source control
svnSubversionDisplay Subversion information when in a repository, including subfolders.
Source control
batteryBattery displays the remaining power percentage for your battery.
System
connectionShow details about the currently connected network.
System
executiontimeDisplays the execution time of the previously executed command.
System
osDisplay OS specific info - defaults to Icon.
System
pathDisplay the current path.
System
projectDisplay the current version of your project defined in the package file.
System
rootShow when the current user is root or when in an elevated shell (Windows).
System
sessionShow the current user and host name.
System
shellShow the current shell name (zsh, PowerShell, bash, ...).
System
statusStatus CodeDisplays the last known status code and/or the reason that the last command failed.
System
sysinfoSystem InfoDisplay memory use and system load for the current machine.
System
textDisplay any static text or template output.
System
timeShow the current timestamp.
System
upgradeUpgrade noticeDisplays when there's an update available for Oh My Posh.
System
vimodeDisplay the current Vi mode in shells using Vi key bindings.
System
winregWindows Registry Key QueryDisplay the content of the requested Windows registry key.
System
wingetDisplays the number of available WinGet package updates. This segment only appears when there are updates available.
System
brewfatherDisplay the status of your active Brewfather batch.
Webneeds auth
carbonintensityShows the actual and forecast carbon intensity in gCO2/kWh using data from the Carbon Intensity API.
Web
httpHTTP Request is a simple segment to return any json data from any HTTP call.
Webneeds auth
ipifyIpify is a simple Public IP Address API, it returns your public IP Address in plain text.
Web
nbaDisplay the schedule and score for your favourite NBA team.
Web
owmOpen Weather MapShows the current weather of a given location with Open Weather Map.
Webneeds auth
todoistDisplays your daily tasks from Todoist.
Webneeds auth
wakatimeShows the tracked time on wakatime of the current day
Webneeds auth