From 29a89f4265752b6da5d940c4bed01186278566e0 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Mon, 25 Nov 2024 06:35:34 +0100 Subject: [PATCH] docs(cmd): initialize using clink config resolves #5866 --- website/docs/installation/prompt.mdx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/website/docs/installation/prompt.mdx b/website/docs/installation/prompt.mdx index a94fdc79..21f1dcef 100644 --- a/website/docs/installation/prompt.mdx +++ b/website/docs/installation/prompt.mdx @@ -66,6 +66,20 @@ load(io.popen('oh-my-posh init cmd'):read("*a"))() Once added, restart cmd for the changes to take effect. +:::info +Clink has builtin support for Oh My Posh. It allows you to set the prompt using the `clink` command. + +```bash +clink config prompt use oh-my-posh +``` + +To set the configuration file, use the following command: + +```bash +clink set ohmyposh.theme +``` +::: +