fix(segment): sort alphabetically
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Release / msi (arm64) (push) Blocked by required conditions
Release / msi (x64) (push) Blocked by required conditions
Release / msi (x86) (push) Blocked by required conditions
Release / cdn (arm64) (push) Blocked by required conditions
Release / cdn (x64) (push) Blocked by required conditions
Release / cdn (x86) (push) Blocked by required conditions
Release / release (push) Blocked by required conditions
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled

This commit is contained in:
Pietrucci-Blacher 2024-11-30 00:51:37 +01:00 committed by Jan De Dobbeleer
parent 15c2aae9d5
commit e79a5bfce5
2 changed files with 27 additions and 27 deletions

View file

@ -83,6 +83,8 @@ const (
EXECUTIONTIME SegmentType = "executiontime"
// EXIT writes the last exit code
EXIT SegmentType = "exit"
// FIREBASE writes the active firebase project
FIREBASE SegmentType = "firebase"
// FLUTTER writes the flutter version
FLUTTER SegmentType = "flutter"
// FORTRAN writes the gfortran version
@ -91,8 +93,6 @@ const (
FOSSIL SegmentType = "fossil"
// GCP writes the active GCP context
GCP SegmentType = "gcp"
// FIREBASE writes the active firebase project
FIREBASE SegmentType = "firebase"
// GIT represents the git status and information
GIT SegmentType = "git"
// GITVERSION represents the gitversion information
@ -129,14 +129,14 @@ const (
NBGV SegmentType = "nbgv"
// NIGHTSCOUT is an open source diabetes system
NIGHTSCOUT SegmentType = "nightscout"
// NIXSHELL writes the active nix shell details
NIXSHELL SegmentType = "nix-shell"
// NODE writes which node version is currently active
NODE SegmentType = "node"
// npm version
NPM SegmentType = "npm"
// NX writes which Nx version us currently active
NX SegmentType = "nx"
// NIXSHELL writes the active nix shell details
NIXSHELL SegmentType = "nix-shell"
// OCAML writes the active Ocaml version
OCAML SegmentType = "ocaml"
// OS write os specific icon
@ -248,22 +248,22 @@ var Segments = map[SegmentType]func() SegmentWriter{
CDS: func() SegmentWriter { return &segments.Cds{} },
CF: func() SegmentWriter { return &segments.Cf{} },
CFTARGET: func() SegmentWriter { return &segments.CfTarget{} },
CMAKE: func() SegmentWriter { return &segments.Cmake{} },
CMD: func() SegmentWriter { return &segments.Cmd{} },
CONNECTION: func() SegmentWriter { return &segments.Connection{} },
CRYSTAL: func() SegmentWriter { return &segments.Crystal{} },
CMAKE: func() SegmentWriter { return &segments.Cmake{} },
DART: func() SegmentWriter { return &segments.Dart{} },
DENO: func() SegmentWriter { return &segments.Deno{} },
DOCKER: func() SegmentWriter { return &segments.Docker{} },
DOTNET: func() SegmentWriter { return &segments.Dotnet{} },
EXECUTIONTIME: func() SegmentWriter { return &segments.Executiontime{} },
ELIXIR: func() SegmentWriter { return &segments.Elixir{} },
EXECUTIONTIME: func() SegmentWriter { return &segments.Executiontime{} },
EXIT: func() SegmentWriter { return &segments.Status{} },
FIREBASE: func() SegmentWriter { return &segments.Firebase{} },
FLUTTER: func() SegmentWriter { return &segments.Flutter{} },
FORTRAN: func() SegmentWriter { return &segments.Fortran{} },
FOSSIL: func() SegmentWriter { return &segments.Fossil{} },
GCP: func() SegmentWriter { return &segments.Gcp{} },
FIREBASE: func() SegmentWriter { return &segments.Firebase{} },
GIT: func() SegmentWriter { return &segments.Git{} },
GITVERSION: func() SegmentWriter { return &segments.GitVersion{} },
GOLANG: func() SegmentWriter { return &segments.Golang{} },
@ -282,9 +282,9 @@ var Segments = map[SegmentType]func() SegmentWriter{
NBA: func() SegmentWriter { return &segments.Nba{} },
NBGV: func() SegmentWriter { return &segments.Nbgv{} },
NIGHTSCOUT: func() SegmentWriter { return &segments.Nightscout{} },
NIXSHELL: func() SegmentWriter { return &segments.NixShell{} },
NODE: func() SegmentWriter { return &segments.Node{} },
NPM: func() SegmentWriter { return &segments.Npm{} },
NIXSHELL: func() SegmentWriter { return &segments.NixShell{} },
NX: func() SegmentWriter { return &segments.Nx{} },
OCAML: func() SegmentWriter { return &segments.OCaml{} },
OS: func() SegmentWriter { return &segments.Os{} },

View file

@ -309,45 +309,45 @@
"title": "Segment Type",
"description": "https://ohmyposh.dev/docs/configuration/segment",
"enum": [
"angular",
"argocd",
"aurelia",
"aws",
"az",
"azd",
"aws",
"azfunc",
"argocd",
"angular",
"aurelia",
"battery",
"bazel",
"brewfather",
"buf",
"bun",
"carbonintensity",
"command",
"connection",
"crystal",
"cds",
"cf",
"cftarget",
"cmake",
"docker",
"dotnet",
"command",
"connection",
"crystal",
"dart",
"deno",
"docker",
"dotnet",
"elixir",
"executiontime",
"firebase",
"flutter",
"fortran",
"fossil",
"gcp",
"firebase",
"fortran",
"git",
"gitversion",
"go",
"haskell",
"helm",
"ipify",
"julia",
"java",
"julia",
"kotlin",
"kubectl",
"lastfm",
@ -366,34 +366,34 @@
"owm",
"path",
"perl",
"python",
"php",
"plastic",
"pnpm",
"project",
"pulumi",
"python",
"quasar",
"r",
"react",
"root",
"ruby",
"rust",
"r",
"react",
"sapling",
"session",
"shell",
"sitecore",
"spotify",
"status",
"shell",
"sysinfo",
"strava",
"svelte",
"svn",
"swift",
"sysinfo",
"talosctl",
"tauri",
"time",
"text",
"terraform",
"text",
"time",
"ui5tooling",
"umbraco",
"unity",