From 18132a2a9e2aabf98199201128be222281c2a23b Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Mon, 11 Aug 2025 20:31:32 -0500 Subject: [PATCH] Revert "docs: Update install instructions for nushell (#5981)" This reverts commit 51af3e84bcd3cc11b0ba30d5c42bf13000440c72. --- docs/installing-mise.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/installing-mise.md b/docs/installing-mise.md index 88231e74a2..49ad24f8d1 100644 --- a/docs/installing-mise.md +++ b/docs/installing-mise.md @@ -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 +"\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