diff --git a/docs/docs/segment-dotnet.md b/docs/docs/segment-dotnet.md index f5193f3e2199..b19c0f4f2531 100644 --- a/docs/docs/segment-dotnet.md +++ b/docs/docs/segment-dotnet.md @@ -6,7 +6,7 @@ sidebar_label: Dotnet ## What -Display the currently active .NET SDK version. +Display the currently active .NET SDK version when a folder contains .NET files. ## Sample Configuration @@ -28,5 +28,8 @@ Display the currently active .NET SDK version. - display_version: `boolean` - display the active version or not; useful if all you need is an icon indicating `dotnet` is present - defaults to `true` - missing_command_text: `string` - text to display when the command is missing - defaults to empty +- display_mode: `string` - determines when the segment is displayed + - `always`: The segment is always displayed + - `files`: The segment is only displayed when `*.cs`, `*.vb`, `*.sln`, `*.csproj`, or `*.vbproj` files are present (default) - unsupported_version_icon: `string` - text/icon that is displayed when the active .NET SDK version (e.g., one specified by `global.json`) is not installed/supported - defaults to `\uf071` (X in a rectangle box) diff --git a/docs/docs/segment-golang.md b/docs/docs/segment-golang.md index 989a4eabcb24..f9b4f50c4857 100644 --- a/docs/docs/segment-golang.md +++ b/docs/docs/segment-golang.md @@ -6,7 +6,7 @@ sidebar_label: Golang ## What -Display the currently active golang version when a folder contains `.go` files. +Display the currently active golang version when a folder contains golang files. ## Sample Configuration diff --git a/docs/docs/segment-julia.md b/docs/docs/segment-julia.md index ebabdc9a7a8d..a9d187c41fb7 100644 --- a/docs/docs/segment-julia.md +++ b/docs/docs/segment-julia.md @@ -6,7 +6,7 @@ sidebar_label: Julia ## What -Display the currently active julia version when a folder contains `.jl` files. +Display the currently active julia version when a folder contains julia files. ## Sample Configuration diff --git a/docs/docs/segment-node.md b/docs/docs/segment-node.md index ae386936c7b1..b2d77567630c 100644 --- a/docs/docs/segment-node.md +++ b/docs/docs/segment-node.md @@ -6,7 +6,7 @@ sidebar_label: Node ## What -Display the currently active node version when a folder contains `.js` or `.ts` files. +Display the currently active node version when a folder contains node files. ## Sample Configuration @@ -29,4 +29,4 @@ Display the currently active node version when a folder contains `.js` or `.ts` - missing_command_text: `string` - text to display when the command is missing - defaults to empty - display_mode: `string` - determines when the segment is displayed - `always`: The segment is always displayed - - `files`: The segment is only displayed when `*.js`, `*.ts` or package.json files are present (default) + - `files`: The segment is only displayed when `*.js`, `*.ts`, or `package.json` files are present (default) diff --git a/docs/docs/segment-python.md b/docs/docs/segment-python.md index 432ceee869c0..f09244d9dc48 100644 --- a/docs/docs/segment-python.md +++ b/docs/docs/segment-python.md @@ -33,6 +33,7 @@ or not - defaults to `true` - missing_command_text: `string` - text to display when the command is missing - defaults to empty - display_mode: `string` - determines when the segment is displayed - `always`: The segment is always displayed - - `files`: The segment is only displayed when `*.py` or `*.ipynb` files are present (default) + - `files`: The segment is only displayed when `*.py`, `*.ipynb`, `pyproject.toml`, `venv.bak`, `venv`, or `.venv` + files are present (default) - `environment`: The segment is only displayed when a virtual env is present - `context`: The segment is only displayed when either `environment` or `files` is active