From 49e541a29ff7a2f35917a4544a8b9adbc02bb1b4 Mon Sep 17 00:00:00 2001 From: Jing Date: Tue, 21 Mar 2023 17:03:50 +0800 Subject: [PATCH] docs: fix Nushell-Homebrew setup instructions (#1495) --- docs/guide/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md index 0a2acc21..03edfaf1 100644 --- a/docs/guide/getting-started.md +++ b/docs/guide/getting-started.md @@ -277,7 +277,7 @@ Completions are automatically configured Add `asdf.nu` to your `~/.config/nushell/config.nu` with: ```shell:no-line-numbers -"\nlet-env ASDF_NU_DIR = (brew --prefix asdf | into string | path join 'libexec')\n source " + (brew --prefix asdf | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path +"\nlet-env ASDF_NU_DIR = (brew --prefix asdf | str trim | into string | path join 'libexec')\n source " + (brew --prefix asdf | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path ``` Completions are automatically configured