summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDavid Knaack <davidkna@users.noreply.github.com>2022-03-24 20:06:24 +0100
committerGitHub <noreply@github.com>2022-03-24 15:06:24 -0400
commitc9b75fe115075c23eb456df5b1af8f4491834aaf (patch)
treed921255a1a0e06900da545802cf2f46e60528552 /README.md
parent1f22f76a81df3a0f5065c47c6b3d21db6440f322 (diff)
fix(init): Change Nushell init for nu 0.60 (#3773)
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 14 insertions, 9 deletions
diff --git a/README.md b/README.md
index d81944c9d..5361bcf45 100644
--- a/README.md
+++ b/README.md
@@ -327,17 +327,22 @@ eval $(starship init ion)
<details>
<summary>Nushell</summary>
-Add the following to the end of your Nushell configuration (find it by running `config path`):
-
-```toml
-startup = [
- "mkdir ~/.cache/starship",
- "starship init nu | save ~/.cache/starship/init.nu",
- "source ~/.cache/starship/init.nu",
-]
-prompt = "starship_prompt"
+Run the following:
+
+```sh
+mkdir ~/.cache/starship
+starship init nu | save ~/.cache/starship/init.nu
```
+And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
+
+```sh
+starship init nu | save ~/.cache/starship/init.nu
+source ~/.cache/starship/init.nu
+```
+
+Note: Only Nushell v0.60+ is supported
+
</details>
<details>