mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
feat: add support for nu shell (#2847)
This commit is contained in:
@@ -129,3 +129,20 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
|
||||
|
||||
eval `starship init tcsh`
|
||||
```
|
||||
|
||||
#### Nushell
|
||||
|
||||
::: warning
|
||||
This will change in the future.
|
||||
Only nu version v0.33 or higher is supported.
|
||||
:::
|
||||
Add the following to your nu config file:
|
||||
|
||||
```toml
|
||||
startup = [
|
||||
"mkdir ~/.cache/starship",
|
||||
"starship init nu | save ~/.cache/starship/init.nu",
|
||||
"source ~/.cache/starship/init.nu"
|
||||
]
|
||||
prompt = "starship_prompt"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user