diff --git a/docs/docs/config-transient.mdx b/docs/docs/config-transient.mdx index 86b2f738..98ba8084 100644 --- a/docs/docs/config-transient.mdx +++ b/docs/docs/config-transient.mdx @@ -73,12 +73,19 @@ properties below - defaults to `{{ .Shell }}> ` -Import/invoke Oh My Posh in your `$PROFILE` and add the following line below: +Invoke Oh My Posh in your `$PROFILE` and add the following line below. ```powershell +oh-my-posh --init --shell pwsh --config $env:POSH_THEMES_PATH/jandedobbeleer.omp.json | Invoke-Expression +// highlight-start Enable-PoshTransientPrompt +// highlight-end ``` +:::caution +If you import **PSReadLine** separately, make sure to import it before the `Enable-PoshTransientPrompt` command. +::: + Restart your shell or reload your `$PROFILE` using `. $PROFILE` for the changes to take effect.