fix(nu): use the most recent starship init (#3908)

This commit is contained in:
David Knaack
2022-05-05 01:02:39 +02:00
committed by GitHub
parent 393d62c726
commit 382445dc4d
3 changed files with 11 additions and 15 deletions
+4 -6
View File
@@ -139,11 +139,11 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
::: warning
This will change in the future.
Only Nushell v0.60+ is supported.
Only Nushell v0.61+ is supported.
:::
Run the following:
Add the following to to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell):
```sh
mkdir ~/.cache/starship
starship init nu | save ~/.cache/starship/init.nu
@@ -152,8 +152,6 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
```sh
mkdir ~/.cache/starship
starship init nu | save ~/.cache/starship/init.nu
source ~/.cache/starship/init.nu
```
#### Xonsh