Skip to content

Commit 8e64f29

Browse files
docs: add wsl executable info
1 parent 7386b55 commit 8e64f29

File tree

10 files changed

+14
-10
lines changed

10 files changed

+14
-10
lines changed

docs/docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To set this configuration in combination with a Oh My Posh [executable][releases
3737
set a path to a JSON file containing the above code. The `--shell universal` flag is used to print the prompt without
3838
escape characters to see the prompt as it would be shown inside a prompt function for your shell.
3939

40-
:::info
40+
:::caution
4141
The command below will not persist the configuration for your shell but print the prompt in your terminal.
4242
If you want to use your own configuration permanently, adjust the prompt configuration to use your custom
4343
theme.

docs/docs/contributing-git.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Exiting that file will start the rebase and spwan your `$EDITOR` to alter the co
5656
5757
Once done, use `git push --force` to bring the changes to the pull request.
5858
59-
:::info vscode
59+
:::tip vscode
6060
The latest version of vscode has a built-in gui to help you select `reword` or any other action on a commit. Select the right ones and press
6161
Start Rebase to continue.
6262
:::

docs/docs/contributing-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sidebar_label: Get Started
1111
The codebase is in [go][go], meaning we need a working go setup before we can do anything else.
1212
Have a look at the [go guide][go-started] to get up and running with go in no time!
1313

14-
:::info
14+
:::caution
1515
Oh My Posh needs at least go 1.17.
1616
:::
1717

docs/docs/install-shells.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Tabs from "@theme/Tabs";
22
import TabItem from "@theme/TabItem";
33

4-
:::info
4+
:::tip
55
If you have no idea which shell you're currently using, Oh My Posh has a utility switch that can tell that to you (not relevant
66
for the Powershell module).
77
:::

docs/docs/install-windows.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,17 @@ Based on the installation method used, you can find this theme at the following
179179
</TabItem>
180180
</Tabs>
181181

182+
:::caution
183+
When using oh-my-posh inside the WSL, make sure to use the `oh-my-posh-wsl` executable instead.
184+
:::
185+
182186
<Shells />
183187

184188
### Customize
185189

186190
<Customize />
187191

188-
:::info
192+
:::tip
189193
When using oh-my-posh in Windows and the WSL, know that you can share your theme with the WSL by pointing to a theme in your
190194
Windows user's home folder.
191195

docs/docs/segment-az.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar_label: Azure
88

99
Display the currently active Azure subscription information.
1010

11-
:::info
11+
:::caution
1212
PowerShell offers support for the `Az.Accounts` module, but it is disabled by default.
1313
To enable this, set `$env:AZ_ENABLED = $true` in your `$PROFILE`.
1414
:::

docs/docs/segment-command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_label: Command
66

77
## What
88

9-
:::info Powershell
9+
:::caution Powershell
1010
While powerful, it tends to take a lot of time executing the command on **Powershell**.
1111
Even with `–noprofile` it's noticeably slower compared to `sh`. It's advised to look at using
1212
[environment variables][env] when using Powershell.

docs/docs/segment-git.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Local changes can also be displayed which uses the following syntax for both the
1616
- `-` deleted
1717
- `?` untracked
1818

19-
:::info
19+
:::tip
2020
PowerShell offers support for the `posh-git` module for autocompletion, but it is disabled by default.
2121
To enable this, set `$env:POSH_GIT_ENABLED = $true` in your `$PROFILE`.
2222
:::

docs/docs/segment-posh-git.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar_label: Git (posh-git)
88

99
Display the [posh-git][posh-git] prompt.
1010

11-
:::info
11+
:::caution
1212
This segment only works within Powershell and requires the posh-git module to be installed and imported.
1313
To enable the `posh-git` module, set `$env:POSH_GIT_ENABLED = $true` in your `$PROFILE`.
1414
:::

docs/docs/segment-terraform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar_label: Terraform
88

99
Display the currently active Terraform Workspace name.
1010

11-
:::info
11+
:::caution
1212
This requires a terraform binary in your PATH and will only show in directories that contain a `.terraform` subdirectory
1313
:::
1414

0 commit comments

Comments
 (0)