diff options
author | David Knaack <davidkna@users.noreply.github.com> | 2022-03-24 20:06:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-24 15:06:24 -0400 |
commit | c9b75fe115075c23eb456df5b1af8f4491834aaf (patch) | |
tree | d921255a1a0e06900da545802cf2f46e60528552 /README.md | |
parent | 1f22f76a81df3a0f5065c47c6b3d21db6440f322 (diff) |
fix(init): Change Nushell init for nu 0.60 (#3773)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 14 insertions, 9 deletions
@@ -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> |