From f54c9eb514f4f3edd6ea17af454d678ae1436894 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Tue, 18 May 2021 20:13:48 +0200 Subject: [PATCH] docs: reflect latest changes in nushell resolves #719 --- docs/docs/install-shells.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/docs/install-shells.mdx b/docs/docs/install-shells.mdx index e9bac4f4..7a6caab1 100644 --- a/docs/docs/install-shells.mdx +++ b/docs/docs/install-shells.mdx @@ -95,10 +95,18 @@ Once added, reload your config for the changes to take effect. Set the prompt and restart nu shell: +### Nu < 0.32.0 + ```bash config set prompt "= `{{$(oh-my-posh --config ~/.poshthemes/jandedobbeleer.omp.json | str collect)}}`" ``` +### Nu >= 0.32.0 + +```bash +config set prompt "(oh-my-posh --config ~/.poshthemes/jandedobbeleer.omp.json | str collect)" +``` + Restart nu shell for the changes to take effect.