mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
fix(nu): use the most recent starship init (#3908)
This commit is contained in:
+4
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user