From 000602f28a6359baa414bff474e3e6b263bc03b4 Mon Sep 17 00:00:00 2001 From: "L. Yeung" Date: Tue, 26 Jul 2022 00:00:58 +0800 Subject: [PATCH] docs(transient): correct description about enabling for CMD --- website/docs/configuration/transient.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/configuration/transient.mdx b/website/docs/configuration/transient.mdx index 691264de..7b76fcb8 100644 --- a/website/docs/configuration/transient.mdx +++ b/website/docs/configuration/transient.mdx @@ -80,7 +80,7 @@ properties below - defaults to `{{ .Shell }}> ` Invoke Oh My Posh in your `$PROFILE` and add the following line below. ```powershell -oh-my-posh init pwsh --config $env:POSH_THEMES_PATH/jandedobbeleer.omp.json | Invoke-Expression +oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/jandedobbeleer.omp.json" | Invoke-Expression // highlight-start Enable-PoshTransientPrompt // highlight-end @@ -95,7 +95,7 @@ Restart your shell or reload your `$PROFILE` using `. $PROFILE` for the changes -Set the transient prompt in [clink][clink] to `always` in the `oh-my-posh.lua` script to enable the feature: +You can run the command below to enable the feature permanently: ```shell clink set prompt.transient always