mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 13:04:04 -08:00
5844faa54d
New segment for .NET SDK version (or unsupported version) display. Includes update for handling command execution errors so segments can act differently based on exit codes. Using a custom error type to make it testable rather than passing the OS error directly to the segment.
44 lines
770 B
JavaScript
44 lines
770 B
JavaScript
module.exports = {
|
|
docs: [
|
|
{
|
|
type: "category",
|
|
label: "Getting Started",
|
|
items: ["introduction", "upgrading", "installation", "configure"],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Packages",
|
|
items: ["powershell"],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Segments",
|
|
items: [
|
|
"az",
|
|
"battery",
|
|
"command",
|
|
"dotnet",
|
|
"environment",
|
|
"exit",
|
|
"git",
|
|
"kubectl",
|
|
"node",
|
|
"os",
|
|
"path",
|
|
"python",
|
|
"root",
|
|
"session",
|
|
"shell",
|
|
"spotify",
|
|
"text",
|
|
"time",
|
|
]
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Contributing",
|
|
items: ["contributing-segment"],
|
|
},
|
|
],
|
|
};
|