Skip to content

Commit

Permalink
Update getting-started.md: nushell (jdx#2248)
Browse files Browse the repository at this point in the history
When reading the guide I was under impression that I should edit `env.nu` with the given shell script. 

Additionally, the script was mentioning `scripts` folder which did not exist in my setup so the script was failing.
  • Loading branch information
chrmod authored and triarius committed Sep 18, 2024
1 parent 860908e commit d8fc7d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,13 +354,13 @@ See [`MISE_FISH_AUTO_ACTIVATE=1`](/configuration#mise_fish_auto_activate1) for m

### Nushell

Since Nu
Nu
does [not support `eval`](https://www.nushell.sh/book/how_nushell_code_gets_run.html#eval-function)
the initialization script is saved in `env.nu`:
Install Mise by appending `env.nu` and `config.nu`:

```nushell
'
let mise_path = $nu.default-config-dir | path join scripts mise.nu
let mise_path = $nu.default-config-dir | path join mise.nu
^mise activate nu | save $mise_path --force
' | save $nu.env-path --append
"\nuse mise.nu" | save $nu.config-path --append
Expand Down

0 comments on commit d8fc7d9

Please sign in to comment.