From 73653ab03b0c0c39c159a08ac58234fed056d281 Mon Sep 17 00:00:00 2001 From: "L. Yeung" Date: Sat, 4 Jun 2022 11:55:09 +0800 Subject: [PATCH] docs(windows): revise guide on using default themes --- website/docs/installation/windows.mdx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/website/docs/installation/windows.mdx b/website/docs/installation/windows.mdx index e90cca3a..d19c02e7 100644 --- a/website/docs/installation/windows.mdx +++ b/website/docs/installation/windows.mdx @@ -16,7 +16,7 @@ To display all icons, we recommend the use of a [Nerd Font][fonts]. ::: :::caution -When using oh-my-posh inside the WSL, make sure to follow the [linux][linux] installation guide. +When using oh-my-posh inside the WSL, make sure to follow the [Linux][linux] installation guide. ::: @@ -138,23 +138,23 @@ Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object }> -You can find the themes winget installs inside the folder indicated by the environment variable `POSH_THEMES_PATH`. -To use `jandedobbeleer.omp.json` in PowerShell for example, you can refer to it using `$env:POSH_THEMES_PATH\jandedobbeleer.omp.json` -when setting the prompt using the `--config` flag. +You can find the themes in the folder indicated by the environment variable `POSH_THEMES_PATH`. +For example, you can use `oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\jandedobbeleer.omp.json"` +for the prompt initialization in PowerShell. -You can find the themes scoop installs inside the `"$(scoop prefix oh-my-posh)\themes\"` folder. -To use `jandedobbeleer.omp.json` in PowerShell for example, you can refer to it using `"$(scoop prefix oh-my-posh)\themes\jandedobbeleer.omp.json"` -when setting the prompt using the `--config` flag. +You can find the themes in the `$(scoop prefix oh-my-posh)\themes` folder. +For example, you can use `oh-my-posh init pwsh --config "$(scoop prefix oh-my-posh)\themes\jandedobbeleer.omp.json"` +for the prompt initialization in PowerShell. -You can find the themes inside the folder indicated by the environment variable `POSH_THEMES_PATH`. -To use `jandedobbeleer.omp.json` in PowerShell for example, you can refer to it using `$env:POSH_THEMES_PATH\jandedobbeleer.omp.json` -when setting the prompt using the `--config` flag. +You can find the themes in the folder indicated by the environment variable `POSH_THEMES_PATH`. +For example, you can use `oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\jandedobbeleer.omp.json"` +for the prompt initialization in PowerShell.