Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/installing-mise.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,14 @@ echo 'mise activate pwsh | Out-String | Invoke-Expression' >> $HOME\Documents\Po

Nu
does [not support `eval`](https://www.nushell.sh/book/how_nushell_code_gets_run.html#eval-function)
Install Mise by activating it into the autoload dir:
Install Mise by appending `env.nu` and `config.nu`:

```nushell
'^mise activate nu | save --force ($nu.data-dir | path join vendor autoload mise.nu)' | save $nu.config-path --append
'
let mise_path = $nu.default-config-dir | path join mise.nu
^mise activate nu | save $mise_path --force
' | save $nu.env-path --append

Copilot AI Aug 12, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The single quote at the beginning of line 301 appears to be orphaned and would cause a syntax error. This line should either be removed or properly paired with a closing quote.

Suggested change
' | save $nu.env-path --append
"""
let mise_path = $nu.default-config-dir | path join mise.nu
^mise activate nu | save $mise_path --force
""" | save $nu.env-path --append

Copilot uses AI. Check for mistakes.

Copilot AI Aug 12, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line appears to close a multi-line string that was started incorrectly on line 301. The string construction is malformed and would not execute properly in Nushell.

Suggested change
' | save $nu.env-path --append
'''
let mise_path = $nu.default-config-dir | path join mise.nu
^mise activate nu | save $mise_path --force
''' | save $nu.env-path --append

Copilot uses AI. Check for mistakes.
"\nuse ($nu.default-config-dir | path join mise.nu)" | save $nu.config-path --append
```

If you prefer to keep your dotfiles clean you can save it to a different directory then
Expand Down
Loading